Install dependencies npm install Run test npm run test Start server DEBUG=noteapp:* npm start Code structure app.js has all the routing logic notes.js has DB logic app.test.js is the test file