A Node.js app with Jest tests and mongodb
Install all dependencies with
npm install or yarn installl
Then add an .env
file with your mongodb URL to connect to it
MONGO_CONNECTION="mongodb://localhost:27017/jest"
To run the tests
npm run test
or
yarn test
To run the project
npm start
or
yarn start