Skip to content

Product-Microservices is a bunch of microservices that forms a product service. This project is demonstration of Microservice + Docker + MySQL + MongoDB + Docker-Compose + Spring Cloud+ Containerization.

Notifications You must be signed in to change notification settings

Amit-Chavda/product-service-kubernetes-cluster

Repository files navigation

Product-Microservices

This repository conatains all modules to create a product service.

  • ProServiceConfigServer

This module is used as a configuration server.

  • ProductCategoryService

This module is a rest api for product category details. It uses MySQL database.

  • ProductInvenotryService

This module is a rest api for product inventory detalis. It uses MySQL database.

  • ProductService

This module is rest api which uses above two modules to get product details. It uses MongoDB database.

  • ProductServiceDescoveryService

This module provides registry service for other microservices.

  • ProductServiceGateway

This modules acts as an interface between outside world and all microservices.

Configuaration

To run this project, you can follow steps given hereby:

1. Download all modules and import in IntelliJ or Eclise IDE.

2. Create .jar file of each project.

3. Generate docker image using docker build command

4. Locate docker-compose.yml file and run it using doekcer-compose up command.

Microservice Architecture


Product Service Architecture

Kubernets Cluster


product-service-kubernetes-cluster drawio (1) Zoom a bit for clearity!

Tools and Technologies used

  • Spring boot
  • Spring cloud
  • Docker
  • Kubernetes

About

Product-Microservices is a bunch of microservices that forms a product service. This project is demonstration of Microservice + Docker + MySQL + MongoDB + Docker-Compose + Spring Cloud+ Containerization.

Resources

Stars

Watchers

Forks

Packages

No packages published