Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 562 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 562 Bytes

NodeExpressMongoRestAPI

this repository contain Rest API's with the Help of Node.js, Expressjs, MongDB (NoSQL Database).

Usage

Rename "config/config.env.env" to "config/config.env" and update the values/settings to your own

Install Dependencies

npm install

Run App

# Run in dev mode
npm run dev

# Run in prod mode
npm start

Database Seeder

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