A web based library app using the microservices architecture
This is a library web application with different components communicating with each other
Book services
Customer services
Oder services
Book services is a service that handles all the book related operations
GET /find : Get all books available in the library
GET /book/:id Get a particular book from the library
POST /create Add a new boook to the library
DELETE /delete/:id Delete a book from the library
Book model is the model that is used to create a book object
title : String
author : String
numberOfPages : int
API Visualization and Doc
API visualization and documentation is done using Swagger
Swagger is a tool that is used to visualize and document RESTful APIs
Replace the YOUR_URI with your MongoDB URI
Customer service handles all customer related requests
GET /find : Get all customers
GET /customer/:id Get a particular customer
POST /create Add a new customer
DELETE /delete/:id Delete a customer
Customer model is the model that is used to create a customer object
name : String
age : int
address : String
API Visualization and Doc
API visualization and documentation is done using Swagger
Swagger is a tool that is used to visualize and document RESTful APIs
Replace the YOUR_URI with your MongoDB URI
Order service handles all order related requests
GET /find : Get all orders
GET /order/:id Get a particular order
POST /create Add a new order
DELETE /delete/:id Delete a order
Order model is the model that is used to create a order object
bookId : String
customerId : String
orderDate : Date
deliveryDate: Date
API Visualization and Doc
API visualization and documentation is done using Swagger
Swagger is a tool that is used to visualize and document RESTful APIs
Replace the YOUR_URI with your MongoDB URI