yarn
or npm install
docker-compose up -d
to start mongodbyarn start
or yarn start:dev
(watch mode)Available routes:
GET /author finds all authors
GET /author/:id finds author by id
POST /author creates new author
PUT /author/:id updates author by id
GET /book finds all books
GET /book/:id finds book by id
POST /book creates new book
PUT /book/:id updates book by id