Seat Reservation System is a Node.js-based program designed to simulate seat reservations in a coach.
This project simulates a seat reservation system for a train coach with 80 seats. Each row contains 7 seats, except the last row which has only 3 seats. Users can reserve up to 7 seats at a time, with a priority on booking seats within the same row. If that's not possible, the system will book nearby seats.
To install and run this project locally, follow these steps:
-
Extract the zip file.
-
Open the project in your favorite IDE.
-
Navigate to the main directory:
cd <Zip_file_Main_directory_name>
-
Install the necessary dependencies:
npm install
To run the Train Seat Reservation System:
npm run server
made by Priti Tiwari