hasandogn / Springboot-Eureka-Ms

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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}

About

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


Languages

Language:Java 98.2%Language:Dockerfile 1.8%