This Node.js project uses the Express framework and MongoDB for data management. It's configured to run with MongoDB Atlas for database services.
Before starting, make sure you have:
- Node.js installed on your computer.
- Access to a MongoDB Atlas account and cluster (or a local MongoDB installation).
To set up and run this project locally, follow these steps:
- Clone the Repository
Clone the project to your local machine:
cd into the repo
- Install dependencies
npm install
- Configure Environment Variables
Create a .env file in the root directory of the project.
Refer to the env.example file provided as a template.
Add your MongoDB connection string and any other environment-specific settings.
example:
MONGO_URI=<your-mongodb-connection-string>
- Start the Development Server
npm run dev