Demo node js with express with unit test in mocha and sinon
- Clone the project from belwo link
git clone [email protected]:Digender/node-express-pluralsight.git
- Install Dependencies
npm install
- Create a .env file in the root folder, with below keys and appropriate values
DB_PASSWORD=<your_password>
DB_USER=<username>
DB_SERVER="<server_name.mongodb.net>"
PORT=8080
- Run project
npm start
- Run eslint
npm run lint
- Run tests
npm test