This comprehensive full-stack application utilizes Java Spring Boot and ReactJS, powered by Node v12.0.0 and npm v7.19.0. The integration of Google OAuth ensures robust authentication, complemented by efficient SQL data management through Workbench. The outcome is an intuitive and user-friendly interface that streamlines the Train booking and management process. Elevate your travel experience with this seamlessly integrated solution.
Clone down this repository. You will need node and npm installed globally on your machine.
Install npm modules:
npm installInstalling the database component for React:
npm install react-data-table-componentTo Start Server:
npm startTo Visit App:
localhost:3000In case of any errors (ensure the number of vulnerabilities is less than 10 - sometimes running twice helps!):
npm audit fix --forceNote: Landing page is home.jsx. Add all routes in it.
Run the queries in insert_query.txt to create Trains and seats for passengers. Modify this as per Trains and requirements.
- Login to Google Cloud Console.
- Go to APIs & Services, and click on Credentials in the left pane.
- Click on Create Credentials and select OAuth Client ID request.
- Select the application type as Web Application and give it a name.
- Provide Authorized JavaScript origins as:
- Provide Authorized redirect URIs as:








