https://github.com/codemage66/subscription-application
Three microservices for use in the subscription applications.
https://github.com/codemage66/subscription-application
docker eureka-client eureka-server java java11 postgresql spring-boot spring-security
Last synced: 6 months ago
JSON representation
Three microservices for use in the subscription applications.
- Host: GitHub
- URL: https://github.com/codemage66/subscription-application
- Owner: codemage66
- Created: 2024-04-22T08:15:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-22T08:17:07.000Z (over 1 year ago)
- Last Synced: 2025-02-14T01:48:36.524Z (8 months ago)
- Topics: docker, eureka-client, eureka-server, java, java11, postgresql, spring-boot, spring-security
- Language: Java
- Homepage:
- Size: 585 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Subscription System
A system that contains three microservices for use in the subscription applications.
### Design Flow
### 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)
```sh
$ cd email-service
$ mvn spring-boot:run
```
```sh
$ cd subscription-service
$ mvn spring-boot:run
```
```sh
$ cd eureka-server
$ mvn spring-boot:run
```
```sh
$ cd public-service
$ mvn spring-boot:run
```### Docker
```sh
docker-compose up --build
```