mirror of
https://github.com/tanrax/django-interactive-frameworks-benchmark
synced 2026-01-07 05:43:36 +01:00
Real-time alert system using Django LiveView with WebSocket support. Features include: - Real-time alert creation, viewing, and deletion - Broadcast notifications to all connected users - SQLite database - Stimulus.js integration for interactive UI - Modal dialogs for alert details - Alert form with validation Fixed Stimulus controller scope issue by placing data-controller on html element.
15 lines
255 B
Plaintext
15 lines
255 B
Plaintext
# Django Settings
|
|
SECRET_KEY=django-insecure-demo-secret-key-change-in-production
|
|
DEBUG=True
|
|
ALLOWED_HOSTS=*
|
|
|
|
# Database
|
|
POSTGRES_HOST=db
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=postgres
|
|
POSTGRES_DB=alerts_db
|
|
|
|
# Redis
|
|
REDIS_HOST=redis
|