Demo REST API using MongoDB, Mongoose, Express, ES2015 Model logic - defined in models/Book.js Business logic - defined in services/Book.js Handling request/responce - defined in routes/index.js Two conection strings for test and production databases - defined in config/env.json Integrations tests for some routes defined in test/book.js
For start app run - npm i ,than - npm start, (node.js and mongoDB servis running required) For start app in test mode run - npm test