codemage66 / subscription-application

Three microservices for use in the subscription applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Subscription System

A system that contains three microservices for use in the subscription applications.

Design Flow

alt text

Microservice

- Public Service: Backend for Frontend microservices.
- Subscription Service: microservices that implements subscription logic, includind persistente of data and email notification to confirm process is completed.
- Email Service: microservice implementing email notifications.

Tech Stack

- Spring Boot
- Security : Basic Auth Spring Security
- Netflix Eureka
- Swagger
- Docker
- PostgreSQL
- Kafka
- Java 11
- Project Lombok

API Docs

- Public service: http://localhost:8080/adidas/api/swagger-ui.html
- Email service:  http://localhost:8082/adidas/api/swagger-ui.html
- Subscription service:  http://localhost:8081/adidas/api/swagger-ui.html

Postman - API Examples

- Download de postman file in the docs folder and import to Postman

Installation

This application is built using maven (make sure the database and eureka-server is up)

$ cd email-service
$ mvn spring-boot:run
$ cd subscription-service
$ mvn spring-boot:run
$ cd eureka-server
$ mvn spring-boot:run
$ cd public-service
$ mvn spring-boot:run

Docker

docker-compose up --build

About

Three microservices for use in the subscription applications.


Languages

Language:Java 98.2%Language:Dockerfile 1.8%