Microservices for e-commerce computer components store
- Java 17 or above
- Apache Maven 3.6.3 or above
- docker 24.0.2+ and docker-compose v2.17.2+
- Open root project folder in console:
- Execute comand: "mvn clean package"
- Execute command: "docker-compose build"
- Execute command: "docker-compose up -d"
- Open Eureka in browser to enter eureka
- Open Swagger in browser to open swagger for all services
- If elasticsearch won't run then product-service will not as well. Write this command in console to update max memory on virtual machine thats let elasticsearch run:
sysctl -w vm.max_map_count=262144
To stop docker containers exxecute command (in console from previous steps) "docker-compose stope"
- Microservice
- Spring Boot
- Spring Web
- Gateway Server
- Spring Cloud
- Discovery Server (Netflix Eureka)
- OAuth2 Authorization Server
- OAuth2 Resource Server
- Spring Validation
- Spring Mail
- JWT
- Stripe
- Elasticsearch
- OpenFeign
- WebClient
- Loadbalacer
- DigitalOcean
- Apache Kafka
- Swagger
- Redis Caching
- JPA
- AspectJ
- Template Engine - Thymeleaf
- MySQL
- MongoDB
- Redis
- Flyway
- JUnit 4/5
- MockMVC
- Lombok
- Mapstruct
- Github actions
- Docker & Docker-compose
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International License.