git clone https://github.com/SatyamVyas04/ecotrader
cd ecotrader
npm install
This command will install all required project dependencies specified in package.json
echo "MONGODB_URI=" > .env
- Open the
.env
file - Add your MongoDB connection string
- Example:
MONGODB_URI=mongodb+srv://<username>:<password>@cluster.mongodb.net/ecotrader?retryWrites=true&w=majority
npm run build
This command compiles the project and prepares it for deployment or local running