Skip to content
@bookingcontrol

Booker

Сервис бронирования мест в ресторанах/кафе/иных заведениях

Микросервисная система бронирования столов

Go Docker gRPC Kafka

🚀 Быстрый старт📦 Репозитории🏗️ Архитектура


🚀 Быстрый старт

# Клонируй все репозитории
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


📦 Репозитории

Контракты

Сервисы

Фронтенд

Инфраструктура


🏗️ Архитектура

┌──────────────┐
│ Admin Gateway│ ← REST API (8080)
│  (REST)      │
└──────┬───────┘
       │
   ┌───┴────┬─────────┐
   │        │         │
┌──▼──┐ ┌───▼───┐ ┌───▼───┐
│venue│ │booking│ │notify │
│ svc │ │  svc  │ │  svc  │
└──┬──┘ └─┬─────┘ └───┬───┘
   └┐     └─────┐     └───┐
┌───▼────┐ ┌────▼────┐ ┌──▼──┐
│Postgres│ │Postgres │ │Kafka│
│(venue) │ │(booking)│ │     │
└────────┘ └─────────┘ └─────┘

Технологии: Go • gRPC • PostgreSQL • Redis • Kafka • React • Docker


💻 Разработка

Protobuf

# 1. Измени proto в booker-contracts
# 2. Создай тег (v1.0.6)
# 3. CI сгенерирует booker-contracts-go
# 4. Обнови зависимость:
go get github.com/bookingcontrol/booker-contracts-go@latest

Фронтенд

cd booker-web
npm install && npm run dev

Полезные команды

make 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

Pinned Loading

  1. booker-contracts booker-contracts Public

  2. booker-infra booker-infra Public

    Makefile

  3. booker-admin-gateway booker-admin-gateway Public

    Go

Repositories

Showing 10 of 11 repositories

Top languages

Loading…

Most used topics

Loading…