Virtual Bookstore is a microservice for a bookstore including CRUDs for: books, comments of books, scores of books, favorites books, authors, publishers, orders and users. The reason for this API is a postgraduate work in Software Architecture at PUC MINAS, in the field of Backend Architecture and Microservices.
This API was deployed at https://virtual-bookstore-lucashdp.herokuapp.com
This API connect with a mongoDB.
Your connection string is: mongodb://iplaycore:t0k3n@iplaycore-shard-00-00-m6ecr.mongodb.net:27017,iplaycore-shard-00-01-m6ecr.mongodb.net:27017,iplaycore-shard-00-02-m6ecr.mongodb.net:27017/virtual-bookstore?ssl=true&replicaSet=iplaycore-shard-0&authSource=admin
GETv1/public/booksGETv1/public/books/:bookIdGETv1/public/books/:bookId/commentsGETv1/public/books/:bookId/scores
PUTv1/public/books/:bookIdPUTv1/public/books/:bookId/comments/:commentIdPUTv1/public/books/:bookId/scores/:scoreId
GETv1/public/publishersGETv1/public/publishers/:publisherIdGETv1/public/publishers/:publisherId/books
- NodeJS is a pre requisite. You will use the Node Package Manager (npm).
-
Clone the project: git clone https://github.com/lucashdp/virtual-bookstore
-
Execute the command line (install dependences): npm install
-
Run the command line (run the app): npm start