Implementation of a REST Microservices for an E-Commerce Project with Spring Boot.
Tech Stack: MySQL, MongoDB, PostgreSQL, Redis, Kafka, Prometheus, Grafana, Docker, Docker Compose, Github Actions, Elastic Search, Logstash, Kibana, Spring Cloud Gateway, Swagger,
- Maven
- Java 17
- Docker / Docker Compose
First, clone the project using the following command:
git clone https://github.com/serhhatsari/e-commerce-backend
Then, you need to build every service by running the build script:
cd scripts && chmod +x build.sh && ./build.sh && cd ..
Finally, you can run the project using docker compose:
docker compose up --build
You can access the swagger page of the services at:
- Product Service:
localhost:8081/api/docs
- Order Service:
localhost:8082/api/docs
- Payment Service:
localhost:8083/api/docs
- Customer Service:
localhost:8084/api/docs
You can access the kibana at 5601 port.
You can access the grafana dashboard at 3000 port.
Default user and password are both admin.
You can access the Kafka UI at 9093 port.