Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eric-souzams/sc-microservices
Full microservices environment with Api-Gateway, Service Discovery, Config Server and two microservices with Load Balance
https://github.com/eric-souzams/sc-microservices
circuit-breaker microservice netflix-eureka spring spring-boot spring-cloud spring-cloud-config spring-cloud-config-server spring-cloud-gateway spring-cloud-netflix spring-cloud-openfeign spring-data-jpa
Last synced: 18 days ago
JSON representation
Full microservices environment with Api-Gateway, Service Discovery, Config Server and two microservices with Load Balance
- Host: GitHub
- URL: https://github.com/eric-souzams/sc-microservices
- Owner: eric-souzams
- Created: 2022-06-06T19:59:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-21T18:01:36.000Z (over 2 years ago)
- Last Synced: 2023-11-28T03:28:23.821Z (about 1 year ago)
- Topics: circuit-breaker, microservice, netflix-eureka, spring, spring-boot, spring-cloud, spring-cloud-config, spring-cloud-config-server, spring-cloud-gateway, spring-cloud-netflix, spring-cloud-openfeign, spring-data-jpa
- Language: Java
- Homepage:
- Size: 348 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
SC Microservices
Routes |
Documentation |
Technologies |
Building |
Docker |
Contributing## Routes
| Method | URL | Description |
|--------|---------------------------------------------------------------------------|--------------------------|
| GET | http://localhost:8765/cambio-service/{amount}/{currencyFrom}/{currencyTo} | Get cambio from currency |
| GET | http://localhost:8765/book-service/{bookID}/{currencyTo} | Get book from ID |
| GET | http://localhost:8761 | Eureka Server UI |
| GET | http://localhost:9411 | Zipkin |
| GET | http://localhost:15672/ | RabbitMQ Management |## Documentation
### Eureka### Zipkin
### Swagger Docs
| URL | Description |
|------------------------------------------------------------------------------|--------------------------------|
| http://localhost:8765/swagger-ui.html | Visual Documentation |
| http://localhost:8765/v3/api-docs | Api Documentation |## Technologies
This project was developed using the following technologies:
- [Spring Boot](https://spring.io/)
- [Spring Data JPA](https://spring.io/projects/spring-data-jpa)
- [Spring Boot Actuator]()
- [Spring Cloud Config Server]()
- [Spring Cloud Config Client]()
- [Spring Cloud Netflix Eureka Server]()
- [Spring Cloud Netflix Eureka Client]()
- [Spring Cloud Circuit Breaker - Resilience4j]()
- [Spring Cloud Openfeign]()
- [Spring Cloud Sleuth]()
- [Spring Rabbit]()
- [Springdoc Open Api](https://springdoc.org/)
- [Zipkin]()
- [Flyway](https://flywaydb.org/)
- [MYSQL](https://www.mysql.com/)## Building
You'll need [Java 11+](https://www.oracle.com/br/java/technologies/javase-jdk11-downloads.html) and [Maven](https://maven.apache.org/download.cgi) installed on your computer in order to build this app.
```bash
$ git clone https://github.com/eric-souzams/sc-microservices.git
$ cd sc-microservices$ cd {service-name}
$ mvn installafter install all applications
$ cd {service-name}
$ mvn spring-boot:runorder to UP: naming-server -> api-gateway -> cambio-service -> book->service
```## Docker
You'll need [Docker](https://www.docker.com/) installed on your computer in order to build this app.
```bash
$ git clone https://github.com/eric-souzams/sc-microservices.git
$ cd sc-microservices$ cd {service-name}
$ mvn install
$ mvn packageafter package all applications
$ docker-compose up
```## Contributing
This repository is currently under development. If you want to contribute please fork the repository and get your hands dirty, and make the changes as you'd like and submit the Pull request.