feat(notify-bridge): phase 1 - project scaffolding
Set up the Notify Bridge project structure: - packages/core (notify_bridge_core) with provider, model, notification, template packages - packages/server (notify_bridge_server) with FastAPI skeleton and health endpoint - frontend with SvelteKit 2, Svelte 5, Tailwind CSS v4, static adapter - Root configs: .gitignore, README.md, CLAUDE.md Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
"""Server configuration — settings, data directory, secrets."""
|
||||
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
DATA_DIR = Path(os.environ.get("NOTIFY_BRIDGE_DATA_DIR", "./data"))
|
||||
SECRET_KEY = os.environ.get("NOTIFY_BRIDGE_SECRET_KEY", "")
|
||||
DATABASE_URL = os.environ.get(
|
||||
"NOTIFY_BRIDGE_DATABASE_URL",
|
||||
f"sqlite+aiosqlite:///{DATA_DIR / 'notify_bridge.db'}",
|
||||
)
|
||||
Reference in New Issue
Block a user