/UnstopTrainCoach

This is a simple seat reservation system for a train with only one coach to book seats for the users.

Primary LanguageJavaScript

Train Coach Reservation System

This is a simple seat reservation system for a train with only one coach. The coach has 80 seats arranged in rows with 7 seats in each row, except for the last row which has only 3 seats. This system allows a user to reserve up to 7 seats at a time. The priority is to book the seats in one row, and if not available, then nearby seats are booked.

Live preview :-

Frontend:- https://frontend-mohanm501.vercel.app/
Backend:- https://outstanding-cod-wrap.cyclic.app
Api documentaton:

Pages

Simple Home Page

User Input and Train Coach Layout Page

Features

  • Displays the current layout of the coach with available and booked seats.
  • Allows the user to select the number of seats they want to reserve.
  • Provides options to reserve seats in one row or reserve nearby seats if seats in one row are not available.
  • Displays the final layout of the coach with reserved seats.

Tech Stacks Used

  • Node.JS
  • React
  • Redux
  • MongoDB Atlas
  • Express
  • Chakra UI
  • Mongoose