Harshana-Rathnayaka / Online-Train-Ticket-Booking-Admin-App

This is the admin side application of a train ticket booking system created with Flutter, Dart and Firebase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to Flutter Train Booking Admin πŸ‘‹

Documentation License: MIT PRs welcome: alianilkocak LinkedIn

Star ⭐ the repo if you like what you see. 😎

cover

An admin app made with Flutter for a train ticket booking system in Sri Lanka

πŸ“ƒ Features

  • Dark Mode
  • Create new train schedules
  • Add new trains
  • Add new Journeys
  • Delete train schedules
  • Remove a train
  • Remove a journey
  • Get the total user count
  • Get the total revenue

πŸ‘·β€β™‚οΈ Built With

✨ Requirements

  • Any Operating System (ie. MacOS X, Linux, Windows)
  • Any IDE with Flutter SDK installed (ie. IntelliJ, Android Studio, VSCode etc.)
  • A Firebase account
  • A little knowledge of Dart and Flutter

πŸ”¨ Installation

  • Follow the below steps to get up and running
  • Run the following commands inside Visual Studio Code or any other IDE which has a terminal or you can just use cmd

πŸ‘― Clone the repository

  • Clone this repo to your local machine using https://github.com/Harshana-Rathnayaka/Online-Train-Ticket-Booking-Admin-App
$ git clone https://github.com/Harshana-Rathnayaka/Online-Train-Ticket-Booking-Admin-App

πŸ”₯ Add to Firebase

  • Create a new project
  • Add the app to the project by providing the relevant details and the below package name

com.example.flutter_train_admin

  • Download the google-services.json file and add it to the project's app directory
  • Add the following lines to the project level build.gradle file (<project>/build.gradle)
buildscript {
  repositories {
    // Check that you have the following line (if not, add it):
    google()  // Google's Maven repository
  }
  dependencies {
    ...
    // Add this line
    classpath 'com.google.gms:google-services:4.3.3'
  }
}

allprojects {
  ...
  repositories {
    // Check that you have the following line (if not, add it):
    google()  // Google's Maven repository
    ...
  }
}
  • Add the following lines to the app level build.gradle file (<project>/<app-module>/build.gradle)
apply plugin: 'com.android.application'
// Add this line
apply plugin: 'com.google.gms.google-services'

dependencies {
  // add the Firebase SDK for Google Analytics
  implementation 'com.google.firebase:firebase-analytics:17.5.0'
  // add SDKs for any other desired Firebase products
  // https://firebase.google.com/docs/android/setup#available-libraries
}
  • Save the files

πŸƒβ€β™‚οΈ Run and test the application

  • Run the following commands to run and test the application in an emulator or a real device
$ flutter pub get
$ flutter run

πŸ“Έ Screenshots

Light Dark

πŸ€“ Author(s)

Harshana Rathnayaka

The Dashboard Design is from Santos Enoque
Admin Side Flutter E Commerce App

🀝 Contributing

Contributions, issues and feature requests are welcome !
Feel free to check out the issues page.

πŸ“ License

License: MIT

πŸ§‘ Train Ticket Booking User Application

https://github.com/Harshana-Rathnayaka/Online-Train-Ticket-Booking-User-App

About

This is the admin side application of a train ticket booking system created with Flutter, Dart and Firebase


Languages

Language:Dart 99.0%Language:Kotlin 0.5%Language:Swift 0.5%Language:Objective-C 0.0%