Skip to content

This microservices setup utilizes Eureka Server for service registration and discovery. User and Contact microservices communicate through Eureka, while an API Gateway handles external client requests, directing them to the appropriate microservices. We Created these microservices by using JAVA, Spring-Boot , REST API. POSTMAN etc.

Notifications You must be signed in to change notification settings

PRATIKBAGADE1/Microservices-Implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Microservices Architecture:

This microservices setup utilizes Eureka Server for service registration and discovery. User and Contact microservices communicate through Eureka, while an API Gateway handles external client requests, directing them to the appropriate microservices. The design focuses on scalability, flexibility, and secure communication, with monitoring, logging, and detailed documentation ensuring a reliable and maintainable system.

Technologies Used

  • Java
  • Spring Boot
  • Microservices
  • REST Api
  • PostMan

Eureka Server:

  • Service Registry for microservices.
  • Manages service registration and discovery.
  • Keeps track of available services.

User Microservice:

  • Manages user-related functionalities.
  • Registers with Eureka Server for service discovery.
  • Communicates with Contact Microservice.

Contact Microservice:

  • Handles operations related to contacts.
  • Registers with Eureka Server for service discovery.
  • Communicates with User Microservice.

API Gateway:

  • Entry point for external clients.
  • Routes requests to the appropriate microservices.
  • Aggregates and manages API requests.
  • Directly connected to Eureka Server for service discovery.

Communicaion Flow

  • External clients interact with the API Gateway.
  • The API Gateway routes requests to the corresponding microservices based on the endpoint.
  • Microservices communicate with each other through Eureka Server.
  • Service discovery ensures that communication is resilient to changes in microservice instances.
External Client
    |
    |  API Gateway
    |    |
    v    v
 Eureka Server
  |      |
  v      v
User Microservice <----> Contact Microservice

Key Components:

Eureka Server:

User Microservice:

Contact Microservice:

API Gateway:

  • Base URL: http://api-gateway:port
  • Routes:
    • /users/* - Routes to User Microservice
    • /contacts/* - Routes to Contact Microservice
    • ...

About

This microservices setup utilizes Eureka Server for service registration and discovery. User and Contact microservices communicate through Eureka, while an API Gateway handles external client requests, directing them to the appropriate microservices. We Created these microservices by using JAVA, Spring-Boot , REST API. POSTMAN etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages