Inspirate789 / SOK-golang-test-task

Simple transaction server based on Golang web server, PostgreSQL and Apache Kafka

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SOK-golang-test-task

Simple transaction server based on Golang web server, PostgreSQL and Apache Kafka

Run with docker compose:

CUR_IP=$(nmcli device show | grep IP4.ADDRESS | head -1 | awk '{print $2}' | rev | cut -c 4- | rev)
HOST_IP=$CUR_IP docker-compose -f docker-compose-kafka.yml up -d
HOST_IP=$CUR_IP docker-compose up -d --build

It will build and run the API and 2 Worker inside the docker.

About

Simple transaction server based on Golang web server, PostgreSQL and Apache Kafka

License:MIT License


Languages

Language:Go 97.1%Language:Dockerfile 2.9%