Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

This is a Flutter mobile application that serves as the frontend for a bus reservation system, consuming a Spring Boot RESTful API for managing bus routes, schedules, reservations, and users. The app provides functionalities for both Admin (bus and schedule management) and Users (search and book buses), with support for JWT-based authentication.

NotificationsYou must be signed in to change notification settings

Developer199239/flutter_bus_reservation

Repository files navigation

This project is aFlutter mobile application that integrates with aSpring Boot backend API to provide a complete bus reservation system. The backend handles the logic for managing buses, routes, reservations, and more, while the Flutter app serves as the frontend for bothAdmin andUser functionalities.


Table of Contents


Description

This app allows users to search for available buses, make reservations, and manage their bookings. Admins have additional privileges to manage cities, buses, routes, and schedules. The app is powered by aSpring Boot backend that provides RESTful APIs for all operations, including user authentication, bus management, and reservation tracking.


Features

Admin Features:

  • Add/Update/Delete Cities: Admins can manage cities to define bus routes.
  • Add/Update/Delete Buses: Admins can manage the available buses forroutes and schedules.
  • Add/Update/Delete Routes: Admins can define routes connecting cities and manage route information.
  • View Reservations: Admins can view all reservations made by users.
  • Add Schedules: Admins can schedule buses for different routes and timings.

User Features:

  • Search Buses: Users can search for available buses based on source, destination, and date.
  • Book a Bus: Users can reserve seats on buses for a selected route and schedule.
  • View Profile: Users can view and update their profile details.
  • My Reservations: Users can view their past and upcoming reservations and booking history.

Screenshots

Include key screenshots of the app’s UI here, such as the following examples:

Admin LoginUser sign up
Admin DashboardAdmin Dashboard
Admin DrawerUser drawer menu
Admin DashboardAdmin Dashboard
Admin add busUser Bus Search
Admin DashboardAdmin Dashboard
Admin add cityUser search result
Admin DashboardAdmin Dashboard
Admin add scheduleUser seat plan
Admin DashboardAdmin Dashboard
Admin reservation listUser seat plan
Admin DashboardAdmin Dashboard
Admin all scheduleUser booking confirm
Admin DashboardAdmin Dashboard

Key Libraries

Here are the core libraries used in the Flutter project to build the frontend and interact with the Spring Boot API:

Dependencies:

  • http: Used to make HTTP requests to the Spring Boot API and interact with backend services.
  • provider: A state management solution used to manage the app's state across different parts of the application.
  • shared_preferences: This library is used to store persistent data locally, like user login sessions.
  • freezed_annotation andjson_annotation: These libraries are used to generate immutable classes and to handle JSON serialization and deserialization between the app and the API.
  • flutter_easyloading: A utility for showing loading indicators during long-running operations such as API calls.
  • go_router: Used for managing navigation and routing within the app.
  • cached_network_image: Efficiently loads images from the network and caches them locally to optimize performance and reduce bandwidth.

Backend (Spring Boot API)

Clone the backend repository:

https://github.com/Developer199239/spring-boot-bus-reservation-api.git

Contributing

We welcome contributions from developers who want to improve the project! To contribute:

  1. Fork the repository.
  2. Create a feature branch:git checkout -b feature-name.
  3. Make your changes and commit them:git commit -m 'Added feature-name'.
  4. Push to the branch:git push origin feature-name.
  5. Open a Pull Request.

About

This is a Flutter mobile application that serves as the frontend for a bus reservation system, consuming a Spring Boot RESTful API for managing bus routes, schedules, reservations, and users. The app provides functionalities for both Admin (bus and schedule management) and Users (search and book buses), with support for JWT-based authentication.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp