The Seat Reservation System is a web application developed using Node.js, Express, MongoDB for the backend, and React for the frontend.
The application is deployed and can be accessed at: https://unstop-train-reservation.netlify.app/
To run the Seat Reservation System locally, follow these steps:
-
Clone or download the code repository.
-
Open the project folder in your preferred terminal or code editor, such as Visual Studio Code.
-
Install the required npm packages by running the following command in both the
client
andserver
directories:npm install
-
Start the backend server:
-
Navigate to the
backend
directory using the terminal. -
Create a file called
.env
in thebackend
directory and add the following keys with the correct details:MONGO_URL=your_mongodb_url PORT=chosen_port_number
-
Run the following command to start the server:
npm run server
Make sure to replace
your_mongodb_url
with your actual MongoDB URL or local MongoDB URL, andchosen_port_number
with the desired port number (suggested: greater than 800).
-
-
Start the frontend:
-
Open a new terminal instance.
-
Navigate to the
frontend
directory using the terminal. -
Run the following command to start the frontend:
npm run start
-
-
Once the server and frontend are up and running, you can access the Seat Reservation System locally by opening your web browser and visiting:
If you have any further inquiries or need additional information, please feel free to contact me via email or phone:
- Email: alalu75666@gmail.com
- Phone: +91 6002565574