Giter Site home page Giter Site logo

hasandogn / springboot-eureka-ms Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 96 KB

Micro service work has been done. Api-gateway design pattern and docker was used. The information of the services was provided by Eureka Server. Unit test has been written.

License: MIT License

Java 98.19% Dockerfile 1.81%

springboot-eureka-ms's Introduction

Springboot-Eureka-Ms

Microservice worked.

How to run?

Add projects module by module to the editor. You can then run it one by one.

First-Service project run with docker?

Created image:

  • first-service-eureka> docker build -t spring7-boot-docker-postgres .

Run image with compose:

  • first-service-eureka> docker-compose up

Service infos

  • Postgresql connection info:

    • hostname: postgres
    • ports: 5432
    • Username: postgres
    • pw: postgres
  • first-service:

    • application.name: application-service
    • port: 8081
    • image name: spring7-boot-docker-postgres
  • second-service:

    • application.name: sms-service
    • port: 8082
  • gateway-service:

    • application.name: gateway-service
    • port: 8080

Example url

http://localhost:8080/{application-name}/{requestmapping-name}

springboot-eureka-ms's People

Contributors

hasandogn avatar

Stargazers

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