Skip to content

brenoma/trail-backend-ascan

Repository files navigation

Subsapi

logo.png

Sumary

Trail Backend Ascan

This is an open project to conclude a trail for a Intern formation at Instituto Altântico.

About the project

This is a project that simulates a subscription service, with registration, purchase, cancel and recover of a subscription. I've used the microservices architecture to build it and did the communication among the services with a message broker. There is also a microservice to consume these subscriptions changes and persist the data and then produce a message to message broker that will be consumed by a notification microservice that send the changes to user email.

Project achitecture

img.png

Technologies

  • RabbitMQ
  • SpringBoot
  • Postgres
  • Keycloak
  • Docker

Building

$ mvn clean install

How to build

After building the project using Maven, you'll need to build the container using Docker or Docker Compose.

Building with Docker Compose

To build the project withh all its linked services (Postgres and Microservice):

$ docker-compose up --build

Docker

Get Started

Useful Docker commands

docker images
docker ps
docker exec -it ${containerName} bash

Project Goals

  • API Rest
  • Message broker
  • Microservice to persist data
  • Unit tests (Subs-api)
  • Unit tests (Email-api)
  • Unit tests (consumer-microservice)
  • Functional tests

My Extra Goals

  • Microservice to notify subscription change
  • Keycloak
  • Swagger API Documentation
  • Elastic Stack for Logging
  • CI/CD Pipelines





Breno Araripe

"Some people feel the rain. Others just get wet."

GitHub Badge LinkedIn Badge

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages