REQUIREMENTS
- Docker
- Docker Compose
- UNIX Base computer (Not tested (yet) in Windows)
- Clone this repo
git clone https://github.com/RyaWcksn/jojonomic-backend
cd jojonomic-backend
- Start all services (Including Kafka, Postgres, and Kafka-UI)
Build all service, each service's ENVs already specified at docker-compose.yml
environment parameter
docker compose -f ./misc/docker-compose.yml up -d --build
- Test
Postman collection in
./misc/JOJONOMIC.json
- Individual services
You can start service individually by going to the specific folders and then
go run cmd/main.go
Edit the .env
file first
I'm using multi stage build for lightweight docker container size
I'm using Depedency Injection and Hexagonal pattern for easy unit test
I'm using Unix Epoch time for more easy configuration for each timezone
Reference := Youtube - Programmer Zaman Now, Credit to mas Eko Kurniawan
KAFKA
KAFKA-UI
POSTGRES