# Клонируй все репозитории
git clone https://github.com/bookingcontrol/booker-infra.git
git clone https://github.com/bookingcontrol/booker-admin-gateway.git
git clone https://github.com/bookingcontrol/booker-venue-svc.git
git clone https://github.com/bookingcontrol/booker-booking-svc.git
git clone https://github.com/bookingcontrol/booker-notify-svc.git
git clone https://github.com/bookingcontrol/booker-web.git
# Запусти всё
cd booker-infra && make setupГотово! Система доступна на http://localhost:18080
- booker-contracts - Protobuf определения
- booker-contracts-go - Сгенерированный Go код
- booker-admin-gateway - REST API Gateway
- booker-venue-svc - Сервис заведений
- booker-booking-svc - Сервис бронирований
- booker-notify-svc - Сервис уведомлений
- booker-web - React + TypeScript
- booker-infra - Docker Compose, мониторинг
┌──────────────┐
│ Admin Gateway│ ← REST API (8080)
│ (REST) │
└──────┬───────┘
│
┌───┴────┬─────────┐
│ │ │
┌──▼──┐ ┌───▼───┐ ┌───▼───┐
│venue│ │booking│ │notify │
│ svc │ │ svc │ │ svc │
└──┬──┘ └─┬─────┘ └───┬───┘
└┐ └─────┐ └───┐
┌───▼────┐ ┌────▼────┐ ┌──▼──┐
│Postgres│ │Postgres │ │Kafka│
│(venue) │ │(booking)│ │ │
└────────┘ └─────────┘ └─────┘
Технологии: Go • gRPC • PostgreSQL • Redis • Kafka • React • Docker
# 1. Измени proto в booker-contracts
# 2. Создай тег (v1.0.6)
# 3. CI сгенерирует booker-contracts-go
# 4. Обнови зависимость:
go get github.com/bookingcontrol/booker-contracts-go@latestcd booker-web
npm install && npm run devmake up # Запустить
make down # Остановить
make logs # Логи
make rebuild-all # Пересборка| Сервис | URL |
|---|---|
| Admin Gateway | http://localhost:18080 |
| Grafana | http://localhost:3000 (admin/admin) |
| Jaeger | http://localhost:16686 |
| Prometheus | http://localhost:9090 |