Coder Social home page Coder Social logo

jumiamicroservice's Introduction

About JumiaMicroservice

JumiaMicroservce is a Microservice application built with Java SpringBoot. Jumia is an online e-commerce platform in Nigeria. This is a fun microservice project that is built using the Spring Cloud and uses third-party tools.

Features

-- Gateway: The Microservice will have an API Gateway that will receive all requests and channel them to the appropriate service. -- Communication: I use Kafka and RabbitMQ for A-synchronous communication between services, -- Security: I'll server the application with an Authentication Server called Key Clock -- Secret Storage: I'll use Vault to store secrets. -- Distributed Tracing: I'll also use Zipkin for distributed tracing. -- Logging: For logging, I use Elastic Search, LogStash, and Kibana

Number of Services.

-- Product Service: This service would help us create and view products and act as a catalog. -- Order Service: This service would help us order products. Not until it makes a call to the Inventory service to check if the requested product is in stock or not. -- Inventory Service: This service helps us check if a product is in stock or not. -- Notification Service: This service sends notifications when an order is placed.

All services will communicate with each other synchronously and A-synchronously.

Storage

Each service will have its own persistent layer.

  • The product service will store products in MongoDB
  • The Order Service will store orders in Mysql
  • The Inventory Service will also store inventories in Mysql (might change to Postgres).
  • The Notifications service is stateless and therefore does not require a DB.

Service Structure: High Level

Each service will have a controller that will receive the Http request from a client, a service Layer to handle business logic, and Rpositoryy layer and a persistent layer. Some services will communicate with message queues.

jumiamicroservice's People

Contributors

nelson8013 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.