https://github.com/odigos-io/kv-mall
An example of a complex microservices application
https://github.com/odigos-io/kv-mall
Last synced: 4 months ago
JSON representation
An example of a complex microservices application
- Host: GitHub
- URL: https://github.com/odigos-io/kv-mall
- Owner: odigos-io
- Created: 2024-01-09T12:57:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-19T08:53:11.000Z (7 months ago)
- Last Synced: 2024-12-26T12:41:45.472Z (6 months ago)
- Language: Java
- Size: 11.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# KV Mall
This is an example of a complex microservice architecture.

## Architecture
KV Mall contains the following services:
| Service | Language | Version |
| --- |------------|----------------------|
| Frontend | Java | 17 (Eclipse Temurin) |
| Inventory | Java | 11 (Eclipse Temurin) |
| Pricing | Java | 8 (Eclipse Temurin) |
| Membership | Go | 1.22.1 |
| Coupon | JavaScript | NodeJS 18.3.0 |
| Analytics | Go | 1.21.2 |
| Warehouse | Java | 11 (Eclipse Temurin) |
| Load-generator | Go | 1.21.2 |## Infrastructure
The following databases and message brokers are used:
- Kafka
- Cassandra
- Memcached
- Elasticsearch
- Azure CosmosDB
- PostgreSQL## Deploying infrastructure
Before running the kv mall application, you need to deploy the infrastructure. To do so, run the following command:
```bash
make deploy-infra
````**Make sure all the infrastructure is running before running the application.**
## Running locally
To build the project and run it locally on a Kind cluster, run the following command:
```bash
make build-images load-to-kind deploy
```## Deploying kv-mall in k8s
```bash
kubectl apply -f https://raw.githubusercontent.com/odigos-io/kv-mall/main/prod-deploy/kv-mall-manifest/kv-mall.yaml
```