Skip to content

Latest commit

 

History

History
84 lines (61 loc) · 3.4 KB

README.md

File metadata and controls

84 lines (61 loc) · 3.4 KB

HarmonyChain | Microservice Architecture

HarmonyChain

api-gateway-ci cart-service-ci file-service-ci identity-service-ci inventory-service-ci notification-service-ci order-service-ci product-service-ci profile-service-ci rating-service-ci shipment-service-ci

Tentative technologies and frameworks

  • Java 21
  • Spring boot 3.3.4
  • Next.js
  • Kafka
  • Keycloak (Soon)
  • Elasticsearch (Soon)
  • SonarCloud (Soon)
  • OpenTelemetry (Soon)
  • Grafana, Loki, Prometheus, Tempo (Soon)

Development Architecture

Development Architecture

Getting started with Docker Compose

  1. Get the latest source code
  2. Add the following records to your host file:
127.0.0.1 api.harmony.local
127.0.0.1 identity
127.0.0.1 storefront
127.0.0.1 backoffice
127.0.0.1 phpmyadmin.scms.local
  1. Open terminal of your choice, go to project directory, run ./start-harmony.sh, wait for all the containers up and running
./start-harmony.sh

Warning: To run all the containers, you need a minimum of 16GB of RAM.

Note: If you use Linux, you may need to run chmod +x ./start-harmony.sh to make the script executable. Run ./stop-harmony.sh to stop all the containers.

  1. All the containers up and running then we start to get sample data for the services. Open terminal of your choice, go to project directory, run ./start-data.sh, wait for all the services to get the sample data.
./start-data.sh

Note: If you use Linux, you may need to run chmod +x ./start-data.sh to make the script executable.

About docker-compose files

  1. docker-compose.yml for all core services
  2. docker-compose.services.yml exclude application services

Contributing

By contributing, you agree that your contributions will be licensed under MIT License.