This is the backend for the AAVISHKAAR Website
- Node.js installed (Node 18 and up)
- MongoDB database (local or cloud instance)
-
Clone the repository:
git clone <repository-url> cd aavishkaar-backend
-
Install dependencies:
npm install
-
Set up the database connection:
- Place your MongoDB URI in
src/index.jsor create .env file with the MONGO_URI value
- Place your MongoDB URI in
-
To start the server in development mode:
npm run dev
-
To start the server in production mode:
npm start