itsvaibhavmishra / train-booking

Train Booking System using MERN Stack and Tailwind CSS

Home Page:https://train-booking.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Train Booking

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.

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


Project Live On

Netlify
Netlify Status

Technology Used

React CSS3 HTML5 JavaScript Node.js Express.js Git Tailwind MongoDB

Commands

Backend

$ npm install

Installs all the required packages for backend

$ npm start

Starts the server using nodemon

Frontend

$ 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


Folder Structure

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




About

Train Booking System using MERN Stack and Tailwind CSS

https://train-booking.netlify.app


Languages

Language:JavaScript 96.8%Language:HTML 2.0%Language:CSS 1.1%