Backend API for LearnDev, an online programming bootcamp marketplace platform.
On the command line in the root directory of LearnDev:
npm i
-
Under directory
/config
, create fileconfig.env
. -
Open
config.env.env
and copy the entire code over toconfig.env
. -
Under
config.env
, fill in the missing fields and modify existing fields, where necessary.
Refer to this guide on hosting a MongoDB database with MongoDB Atlas.
Copy the MongoDB Connection String (see guide), and paste it into the MONGO_URI
field in the config.env
file created.
On the command line in the root directory of LearnDev:
#### Load seeder files
node seeder.js -i
#### Destroy all data
node seeder.js -d
On the command line in the root directory of LearnDev:
#### Run in production
npm start
#### Run in development environment
npm run dev
- Version: 1.0.0
- License: MIT