This repository contains the latest source code for a Spring Boot Microservices project.
This project implements a microservices architecture with the following services:
- Product Service (
8080) - Order Service (
8081) - Inventory Service (
8082) - Notification Service (
8083) - API Gateway (
9000) - Shop Frontend (Angular 18) (
4200)
The technologies used in this project:
- Spring Boot
- Angular
- MongoDB
- MySQL
- Kafka
- Keycloak
- Grafana Stack (Prometheus, Grafana, Loki, and Tempo)
- API Gateway (Spring Cloud Gateway MVC)
Ensure you have the following installed on your machine:
cd frontend
npm install
npm run start📌 Frontend URL: http://localhost:4200/
Ensure you have the following installed on your machine:
Run the following command to build and package the backend services:
mvn clean packageYou can start each service individually using IntelliJ IDEA:
- Open the project in IntelliJ IDEA.
- Locate each microservice inside the
services/folder. - Run each service one by one using the IntelliJ Run button.
📌 URL: http://localhost:9000/
| Service | Port | URL |
|---|---|---|
| Product | 8080 | http://localhost:8080/ |
| Order | 8081 | http://localhost:8081/ |
| Inventory | 8082 | http://localhost:8082/ |
| Notification | 8083 | http://localhost:8083/ |
📌 URL: http://localhost:8181/
- Username: admin
- Password: admin
📌 URL: http://localhost:3000/
- Username: admin
- Password: admin
This project helped me understand:
✅ Microservices Architecture
✅ Spring Boot Service Communication
✅ Event-Driven Architecture (Kafka)
✅ Authentication & Authorization (Keycloak)
✅ Monitoring & Logging (Grafana, Prometheus, Loki)