Giter Club home page Giter Club logo

spring-cloud-2022's Introduction

Spring Boot Cloud 3 Demo

This project demonstrates the interaction between the different Spring Boot 3 technologies.

config-server

This module depends on spring-cloud-config-server and connects with a git repo to serve the configuration settings.

discovery-server

This module depends on spring-cloud-starter-netflix-eureka-server where other services can register and be looked up.

api-gateway

This module depends on spring-cloud-starter-gateway. It is the gateway for all incoming requests and makes the necessary load balance forwarding to the actual service implementation.

mail-services

This module depends on spring-cloud-starter-config to connect to the config server and spring-cloud-starter-netflix-eureka-client to register to the Eureka naming server.

It also depends on Webflux for providing a REST endpoint.

Before you Run

Make the folder /config-repo a git repo by going inside the folder and running the command below.

git init

How to Run

The following modules should be run in the following order.

  • config-server
  • discovery-server
  • mail-services
  • api-gateway

Testing the Services

mail-services

This service runs on port 8001.

The actual URL is http://localhost:8001/mails/profiles/1

api-gateway

This service runs on port 8001. It simply forwards the request to the mail-services.

The actual URL is http://localhost:8000/mails/profiles/1

spring-cloud-2022's People

Contributors

czetsuya avatar

Watchers

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