Skip to content

Repository files navigation

Microservices Project README

This microservices project consists of two main components: Limits Service and Spring Cloud Config Server. Below are details for each component:

Limits Service

Overview

The Limits Service is a microservice that provides information about configured limits. It exposes an endpoint /limits that returns a JSON object containing minimum and maximum values.

Configuration

Spring Cloud Config Server

Overview

The Spring Cloud Config Server is responsible for providing centralized configuration for microservices. It is configured to retrieve configuration details from a Git repository.

Configuration

How to Run

  1. Create a Folder and Initialize Git:

    mkdir microservices-project
    cd microservices-project
    git init
  2. Create Limits Service Properties Files:

    • Create limits-service-qa.properties and limits-service-dev.properties in the newly created folder.
    • Add the limits inside the folders like this limits-service.minimum = 5 - limits-service.maximum = 995.
  3. Commit to Local Repository:

    git add .
    git commit -m "Initial commit with microservices project files"
  4. Run Spring Cloud Config Server:

    • Navigate to the spring-cloud-config directory and run the Spring Cloud Config Server.
  5. Run Limits Service:

    • Navigate to the limits-service directory and run the Limits Service.

Feel free to modify this README based on your project's specific details.

About

This is a repository to start with the basics of microservices

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages