Nest Book Store API.
npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
# Get all books
GET api/books
# Get book details of a specific id.
GET api/book/:id
# Add new Book.
POST api/book/add-new
{
"title": "String",
"author": "String",
"imageURL": "String",
"type": "PString"
}
# Update Book of a specific id.
PUT api/book/:id/update
{
"title": "String",
"author": "String",
"imageURL": "String",
"type": "PString"
}
# Delete Book of a specific id.
DELETE api/book/:id/delete