- Clone project.
- Create MongoDB Atlas cluster.
- Add
.env
-file with PORT and DB_URL (URL to MongoDB Atlas) variables. - Run
npm install
. - Run
npm run watch
to develop.
GET /api/books
GET /api/books/:id
POST /api/books
DELETE /api/books/:id
PUT /api/books/:id
GET /api/authors
POST /api/authors
- Express.js
- Mongoose 5.5
- MongoDB
- Nodemon
- dotenv
- cors
- jest
- supertest
- lodash