This is a simple BookService Rest API. The project is built with typescript, NodeJS and ExpressJS The store is an in-memory store of Books referenced by the book reference.
- Install Node.js (lts-version v16.15.1)
- cd into Project root directory
- run
npm install
- run
npm start
- test the endpoints with postman
POST http://localhost:3000/api/v1/books/retrieve RequestBody
{
"bookReference" : "BOOK-GRUFF472"
}
POST http://localhost:3000/api/v1/books/summary RequestBody
{
"bookReference" : "BOOK-GRUFF472"
}