This is a server API for managing an online store. It has a user-friendly interface, load balancing, and a logging tool.
You can find API documentation here
- 🟦 Go
- 🌐 Chi
- 🐘 Postgres
- 🔄 Kafka
- 📈 Prometheus
- 📊 Grafana
- 🌐 Nginx
- ⚙️ Ansible
- 🦊 Gitlab
- 🔁 Gitlab CI
- 🏃 Gitlab Runner
- 📦 Gitlab Container Registry
- 🐳 Docker
- 📦 Docker Compose
- 🧬 Swagger
- ⚡ Zap
Follow these steps to run the project locally:
git clone https://gitlab.pg.innopolis.university/d.tskhe/cms-for-online-shop.git
cd cms-for-online-shopcd backend.env example:
HOST=0.0.0.0
PORT=8082
KAFKA_BROKERS=kafka:9093
KAFKA_TOPIC=logs
DB_USER=... # Postgres user
DB_HOST=... # Postgres host
DB_PASSWORD=... # Postgres password
DB_NAME=... # Postgres database name
DB_PORT=5432
PROMETHEUS_PORT=9090Make sure, that you have installed docker and docker-compose
docker-compose up --build -dIf you want stop app:
docker-compose down -vIn browser you can enter with URL: http://localhost and see main page of the app and click everywhere