/TrainJourney

TrainJourney is a feature-rich mobile app, built with Flutter, Firebase, and the Google Maps API, to enhance train travel. Check schedules, track live train locations, reserve tickets, and stay updated on delays and cancellations for a seamless and convenient travel experience.

Primary LanguageDart

TrainJourney: Convenient and Efficient Train Travel Companion

Cover Photo

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.

Features

  • 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.

Technologies Used

  • 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.

Getting Started

Follow the instructions below to set up and run the app locally on your machine:

  1. 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.

  2. Clone the Repository: Use the following command to clone the repository to your local machine:

git clone https://github.com/lahiru1115/TrainJourney.git
  1. Navigate to the Directory: Enter the app directory:
cd TrainJourney
  1. Install Dependencies: Run the following command to install the required dependencies:
flutter pub get
  1. Configure Firebase: Follow the Firebase setup guide to create a Firebase project and add the necessary configuration files to the app.

  2. Run the App: Use the following command to run the app on an emulator or connected device:

flutter run

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4
Screenshot 5 Screenshot 6 Screenshot 7 Screenshot 8
Screenshot 9 Screenshot 10 Screenshot 11 Screenshot 12

Contributing

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.