feat(core): implement secure MVP core with dictionary search, auth, and CRUD

This commit is contained in:
2026-09-22 13:27:11 +00:00
parent 4dbc53890a
commit 813d567b0e
14 changed files with 2960 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
# Server Configuration
HOST=127.0.0.1
PORT=8002
DEBUG=False
# Security
SECRET_KEY=change_this_to_a_random_secret_string
SESSION_COOKIE_NAME=notes_session
SESSION_EXPIRE_DAYS=30
RATE_LIMIT_LOGIN_MAX=5
RATE_LIMIT_LOGIN_WINDOW_SEC=60
# Initial Admin Credentials (auto-provisioned on first run if no users exist)
ADMIN_USERNAME=admin
ADMIN_PASSWORD=change_this_admin_password
# External APIs
MYMEMORY_EMAIL=admin@qpid.pro
# Database
DB_PATH=/home/kopri/notes.qpid.pro/data/notes.db