Skip to content

meshudn/Microservice-demo

Repository files navigation

Microservice Demo

A demo application build using Microservice architecture.

Architecture

Webshop is composed of several microservices written in different languages that talk to each other via events, REST API.

By using a microservices architecture with different programming languages and communication protocols, developers can build a more modular, scalable, and resilient webshop. Each microservice can be deployed and scaled independently, and if one microservice fails, it does not affect the rest of the webshop. This also allows for more flexibility in developing new features, as developers can work on each microservice separately without disrupting the entire system.

Architecture of microservices

Service Language Description
frontend React.js Exposes an HTTP server to serve the website. Does not require signup/login and generates session IDs for all users automatically.
cartService Node.js Stores the items in the user's shopping cart in Redis and retrieves it.
orderService Node.js Handle order request from the cart service
customerService Node.js Provides customer information, status, paymentCredits etc .
inventoryService Node.js Provides the list of products from a JSON file and ability to search products and get individual products.
paymentService Node.js Gives shipping cost estimates based on the shopping cart.(mock)
shippingService Node.js Track shippment and send an order-complete event to the order history
notificationService Python Sends users an order confirmation email (mock).
orderhistoryService Node.js Provides order history and product catelogues.
userInformationService Java Provides user information and authenticate users. (*under_development)
reviewService C# Review service for the product.
rabbitMq Java Passing messages between services.

Microservice Patterns usages for development

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published