Boilerplate Express Instance with MongoDb
If you clone this repo you will need to npm install
or yarn install
setup an actaul .env
file from the example
Production
npm start
- for production we are running in node
Development
npm run dev
- for development we are running nodemon
Test
npm run test
- not much happenin' here atm
MongoDb
A good setup for mongo if you are on a mac is brew
Is MongoDB running? Check with brew services list
To start MongoDB brew services start mongodb
To shell in: mongo