This app is made for private railway companies to add their trains in database and made the website available to users for booking.
- Create stations, connect them via routes and schedule trains on these routes.
- Login and register for users
- Train search using src, dest, class and date.
- Get train list and see seat availability
- Payment for booking via Razorpay Api
- PNR status checking
- Ticket cancellation using Razorpay API
- NodeJS + ExpressJS
- MongoDB Atlas + Mongoose ODM
- JSON Web Tokens
- Razorpay payment links API
Client repo : https://github.com/sanjaymajhi/railway_reservation_system_client
create .env file in the root directory and put this :
MONGODB_URI=<generate from mongodb atlas website>
- clone this repo
- clone the API repo
- Make .env files in both directories
- do npm install in both directories
- Now in bash, type npm run start-both (in backend folder bash)
Website : https://bookyourjourney.herokuapp.com