Before getting started, ensure you have the following installed on your system:
- Node.js: Make sure you have Node.js installed. You can download and install it from here.
-
Clone the Repository: Clone the Drive 2 Destiny repository to your local machine:
git clone https://github.com/nightcoder26/SWE-LAB.git
-
Navigate to the Backend Directory: Move into the backend directory of the project:
cd backend
-
Install Dependencies: Use npm (Node Package Manager) to install the required dependencies:
npm install
-
Start the Server: Once the dependencies are installed, you can start the server:
nodemon app.js
-
Access the Backend: The server should now be running locally on port 3000 by default. You can open http://localhost:3000 You can access the backend API endpoints using tools like Postman or by making HTTP requests.
- Contributions: Contributions to the project are welcome! If you encounter any issues or have suggestions for improvement, feel free to open an issue or submit a pull request on the GitHub repository.
- Support: If you need any assistance or have questions about running the backend, don't hesitate to reach out to the project maintainers.
That's it! You've successfully set up and run the Drive 2 Destiny backend server locally. Happy coding!