TrainJourney is a comprehensive mobile application designed to enhance your train travel experience. This app leverages the power of Flutter, Firebase, and the Google Maps API to provide a range of features and functionalities that make train journeys more convenient and efficient. From checking train schedules and tracking live train locations to reserving tickets and staying updated on delays and cancellations, TrainJourney is your go-to companion for seamless travel.
- Login: Passengers can securely log in to the app using their credentials.
- Register: New users can create an account by registering with the app.
- Train Schedule: The app provides access to the train schedule, allowing passengers to view departure and arrival times for different trains.
- Live Location: Passengers can track the real-time location of their train, ensuring they have up-to-date information on their journey.
- Train Delays: The app notifies passengers about any train delays, helping them plan their trips accordingly.
- Train Cancellations: Passengers receive alerts in case of train cancellations, enabling them to make alternate travel arrangements.
- Ticket Reservation: The app allows passengers to reserve tickets for their desired train and route.
- Reset Password: Passengers can reset their password if they forget it, ensuring access to their accounts.
- Flutter: Flutter is an open-source UI software development kit created by Google for building natively compiled applications for mobile, web, and desktop from a single codebase.
- Firebase: Firebase is a mobile and web application development platform that provides backend services and tools to build, improve, and grow the app.
- Google Maps API: Google Maps API allows integration of Google Maps functionality into the app, enabling location-based services and real-time mapping.
Follow the instructions below to set up and run the app locally on your machine:
-
Prerequisites: Ensure you have Flutter SDK installed on your machine. If not, you can download it from the official Flutter website and follow their installation guide.
-
Clone the Repository: Use the following command to clone the repository to your local machine:
git clone https://github.com/lahiru1115/TrainJourney.git
- Navigate to the Directory: Enter the app directory:
cd TrainJourney
- Install Dependencies: Run the following command to install the required dependencies:
flutter pub get
-
Configure Firebase: Follow the Firebase setup guide to create a Firebase project and add the necessary configuration files to the app.
-
Run the App: Use the following command to run the app on an emulator or connected device:
flutter run
Contributions are welcome! If you find any issues with the app or have new feature suggestions, feel free to open an issue or submit a pull request.