root 6c38c1f963 Fix CSS specificity: add parent selectors to toggle-slider 2 weeks ago
..
alembic 7ca759305b Add SSH and Dashboard reverse tunnel support with WebSocket proxying 4 weeks ago
app 6c38c1f963 Fix CSS specificity: add parent selectors to toggle-slider 2 weeks ago
.env.example a8ad3ec980 Setup backend infrastructure 1 month ago
BACKEND_MVP_READY.md 5afff251d3 Implement complete MyBeacon backend MVP 1 month ago
README.md a8ad3ec980 Setup backend infrastructure 1 month ago
alembic.ini df94aa71a0 Setup Alembic migrations and FastAPI app 1 month ago
poetry.lock 8c4e2fb033 Fix ClickHouse integration and refresh token timezone bug 4 weeks ago
pyproject.toml 8c4e2fb033 Fix ClickHouse integration and refresh token timezone bug 4 weeks ago
start.sh be376d7a25 Add startup scripts for backend and frontend 4 weeks ago
sync_ssh_keys.py 7ca759305b Add SSH and Dashboard reverse tunnel support with WebSocket proxying 4 weeks ago

README.md

MyBeacon Backend

FastAPI backend для платформы MyBeacon - модульная система мониторинга BLE/WiFi устройств.

Требования

  • Python 3.11+
  • PostgreSQL 16+
  • Redis 5+

Установка

# Установить зависимости
poetry install

# Создать .env файл
cp .env.example .env

# Запустить миграции
alembic upgrade head

# Запустить сервер
uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload

Структура

  • app/ - основное приложение
  • alembic/ - миграции базы данных
  • tests/ - тесты

API Documentation

После запуска сервера: