API Boilerplate: Express + MongoDB + Auth0 Authentication
- NodeJS v.10.14.2
- MongoDB v.4.x
- Install
package.json
dependencies$npm install
- Install NodeJS https://nodejs.org/en/download/
- Install/Prepare MongoDB https://www.mongodb.com/
- Create config file
./config/env/.env
- Copy variables from
./config/env/.env_example
- Create test config file
./config/env/.env.test
- Copy variables from
./config/env/.env_test_example
- Set appropriate values
$nvm use
will switch NodeJS version according to the./.nvmrc
file$npm start