GithubHelp home page GithubHelp logo

zpng / spring-cloud-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from josedab/spring-cloud-examples

0.0 2.0 0.0 61 KB

Examples of microservice instrastructures

License: MIT License

Shell 48.45% Batchfile 34.36% Java 17.19%

spring-cloud-examples's Introduction

spring-cloud-examples

Examples of microservice instrastructures

This project contains several examples of microservice infrastructures implemented with Spring Boot and Spring Cloud projects. The aim of each project is to provide an end to end example, being able to deploy it without too much hassle.

Overview

Each folder represents a type of example (config-provider, service-registry, etc...) Each example is divided in subfolders, which are maven projects in charge of a specific service. For example, for the zuul-proxy-cloud-bus example, we have the following folders:

  • configuration-service
  • eureka-service
  • svca-service (one of the services with a custom business logic)
  • svcb-service (another service with custom business logic)
  • zuul-service Each of them are deployed separately and together they form the microservice infrastructure for that example.

Deployment

Each service could be deployed running the following: mvn spring-boot:run

For example, for the microservice infrastructure declared on the project zuul-proxy-cloud-bus we will deploy the infrastructure doing the following:

  • Deploy config-service
    cd configuration-service
    mvn spring-boot:run
    
  • Deploy service a
    cd svca-service
    mvn spring-boot:run
    
  • Deploy service b
    cd svcb-service
    mvn spring-boot:run
    
  • Deploy Eureka service
    cd eureka-service
    mvn spring-boot:run
    
  • Deploy Zuul proxy service
    cd zuul-service
    mvn spring-boot:run
    

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.