Giter Club home page Giter Club logo

spring-boot-microservices's Introduction

Spring-Boot-Microservices

Repository Name: spring-boot-microservices

Description: This repository contains a collection of microservices developed using Spring Boot, demonstrating the implementation of a microservices architecture. The microservices cover different aspects of an organization, including organization service, department service, and employee service. Additionally, the repository includes other components such as an API gateway, a config server, and a service registry.

Table of Contents:

  1. Installation
  2. Usage
  3. Services
  4. Additional Components
  5. Contributing

Installation

To run these microservices locally, follow the steps below:

  1. Clone the repository:

    git clone https://github.com/AvishkaUmesh/spring-boot-microservices.git
  2. Navigate to the project directory:

    cd spring-boot-microservices
  3. Build the microservices using Maven:

    mvn clean install

Usage

  1. Start the Config Server:

    cd config-server
    mvn spring-boot:run
  2. Start the Service Registry:

    cd service-registry
    mvn spring-boot:run
  3. Start each microservice individually:

    • Organization Service:
      cd organization-service
      mvn spring-boot:run
    • Department Service:
      cd department-service
      mvn spring-boot:run
    • Employee Service:
      cd employee-service
      mvn spring-boot:run
  4. Start the API Gateway:

    cd api-gateway
    mvn spring-boot:run

Now you can access the microservices and the API gateway at the appropriate endpoints.

Services

Organization Service

  • Responsible for managing organizations and their related information.
  • Provides endpoints for creating organizations, retrieving organization details.

Department Service

  • Manages departments.
  • Offers functionality for creating departments, retrieving department details.

Employee Service

  • Handles employee-related operations.
  • Provides endpoints for creating employees, retrieving employee details.

Additional Components

API Gateway

  • Acts as a single entry point for accessing the microservices.
  • Provides routing and load balancing capabilities.
  • Simplifies client-side interactions with the microservices.

Config Server

  • Centralized configuration server for the microservices.
  • Stores and manages configuration files for each microservice.
  • Enables dynamic configuration updates without requiring service restarts.

Service Registry

  • Registers and tracks the availability of microservices.
  • Allows services to discover and communicate with each other dynamically.
  • Facilitates load balancing and fault tolerance.

Contributing

Contributions to this repository are welcome. If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.

spring-boot-microservices's People

Contributors

avishkaumesh 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.