Skip to content

PedroMiotti/espm.ms.canoafurada.gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚢 Canoafurada - A project for microservices class

A Spring Boot project built with a microservice architecture following OOP principles and with both REST and Messaging queues (Kafka) communication between the services.

Professor : Edson Sensato

Context

"A cruise company called Canoa Furada decided to invest in a system for booking cabins on its ships and in a technical meeting opted for the microservices architecture for this implementation."

Links

Services

Gateway - Service discovery gateway. Port: 8761
Invoice service - Responsible for creating invoices for successfully booked cabins. Port: 8085
Cabin service - Responsible for managing cabins. Port: 8083
Booking service - Responsible for managing bookings. Port: 8082
User service - Responsible for managing users. Port: 8084

Obs: Each service has its own documentation
swagger-ui : /api/swagger-ui/index.html
actuator: /api/actuator

Basic architecture

architecture diagram

Databases

Databases

For each service there is a script for creating its database. Its located under /br/espm/canoafurada/resources/script_v1_mysql.sql

Testing

If you want to test the endpoints, just download the espminvest.poo.postman_colection.json file inside the /.github folder, and import it into postman, all the routes are already pre-configured.

Postman import example

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages