Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 install

after install all applications
$ cd {service-name}
$ mvn spring-boot:run

order 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 package

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