Train Booking is a MERN stack application that allows users to book seat for a train. The app includes an attractive UI and multiple features.
-
Robust authentication system
-
Auth based booking
-
Seat availability check
-
Book a max of 7 seats at once
-
Closest seats booking alogrithm
-
Seat data reset everyday at 9:30AM IST
-
Default seed for mongodb
$ npm install
Installs all the required packages for backend
$ npm start
Starts the server using nodemon
$ npm install
Installs all the required packages for frontend
$ npm start
Runs frontend on localhost(React App)
$ npm run build
Creates an optimized production build
train-booking/
├── backend/
│ ├── model/
│ │ └── train.js
│ ├── routes/
│ │ └── train.js
│ ├── seed.js
│ └── server.js
├── frontend/
│ ├── public/
│ │ ├── index.html
│ │ └── manifest.json
│ ├── src/
│ │ ├── App.js
│ │ ├── index.css
│ │ └── index.js
│ ├── .env
│ └── tailwind.config.js
├── .gitignore
└── README.md