Skip to content

A full-stack train seat reservation application using React, Express, and Node.js that allows users to book up to 7 seats at a time in an 80-seat train coach.

Notifications You must be signed in to change notification settings

Yash-Pandey07/seat-reservation

Repository files navigation

Train Seat Reservation System

A full-stack train seat reservation application using React, Express, and Node.js that allows users to book up to 7 seats at a time in an 80-seat train coach.

try it online

seat-reservation

seat_booking

Sample View

seat_booking.mp4

Home Page

image

Reserve seats

image

Input Validations

image

Get reserve seats in an order

image

All seats are booked so no more seats are booked

image

Reset seats

image image

Backend server is down

image

Features

  • Allows booking of 1 to 7 seats at a time.
  • Prioritizes booking seats in a single row if available.
  • Books the closest available seats if a single row does not have enough seats.
  • Displays available and booked seats with color coding in the UI.
  • Backend API to manage seat data and booking logic.

Requirements

  • Node.js
  • npm

Setup and Installation

1. Clone the Repository

git clone https://github.com/your-username/seat-reservation.git
cd seat-reservation

Backend server at

https://seat-reservation-6bbv.onrender.com/api/seats

using Render.com to upload server file .

About

A full-stack train seat reservation application using React, Express, and Node.js that allows users to book up to 7 seats at a time in an 80-seat train coach.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published