Welcome to ManzilYatra! Follow the steps below to set up the frontend and backend on your local machine.
-
Clone the repository
git clone https://github.com/rishavgoenka/ManzilYatra-FE.git cd ManzilYatra-FE
-
Install dependencies
npm install
-
Run the development server
npm run dev
This will start the frontend at http://localhost:5173.
-
Clone the repository
git clone https://github.com/rishavgoenka/ManzilYatra-BE.git cd ManzilYatra-BE
-
Set up the Spring Boot project
- Open the project in your preferred IDE (e.g., IntelliJ, Eclipse).
- Ensure your environment includes:
- JDK 1.8
- Maven (for managing dependencies)
-
Configure the backend
- Update the
application.properties
file with your database configurations and server settings.
- Update the
-
Run the backend server
- Start the Spring Boot application.
- By default, the backend API endpoints will be available at http://localhost:8888.
- You can use postman or swagger UI using http://localhost:8888/swagger-ui/# to manage backend services.
- Frontend Port: http://localhost:5173
- Backend Port: http://localhost:8888
- Ensure both the frontend and backend are running simultaneously for the application to function properly.
Feel free to contribute by creating a pull request. For significant changes, please open an issue first to discuss what you'd like to change.