goalsbreakdown/config.py
Yuyao Huang f3bffa40cd Initial commit: GoalsBreakDown web app
- Flask backend with TinyDB database
- Multi-user auth with bcrypt password hashing
- Goal CRUD with activation/deactivation and per-user limits
- Task CRUD with status tracking (todo/doing/pending/done)
- Focus rule: one doing task per goal
- Time picker-style scroll view with drag-and-drop reordering
- Admin panel for user management
- uv environment management
2026-05-08 12:41:19 +08:00

14 lines
279 B
Python

import os
DB_PATH = os.path.join(os.path.dirname(__file__), "data", "db.json")
DEFAULT_ADMIN_USERNAME = "admin"
DEFAULT_ADMIN_PASSWORD = "admin123"
DEFAULT_MAX_GOALS = 5
SECRET_KEY = "goals-breakdown-secret-key-change-in-production"
DEBUG = True
HOST = "0.0.0.0"
PORT = 5000