Backend API for DevCamper application, which is a bootcamp directory website
Go to "config/config.env" and update the values/settings to your own
npm install
# Run in dev mode
npm run dev
# Run in prod mode
npm start
To seed the database with users, bootcamps, courses and reviews with data from the "_data" folder, run
# Destroy all data
node seeder -d
# Import all data
node seeder -i
Extensive documentation with examples here
Course: Node.js API Masterclass With Express & MongoDB Author: Brad Traversy