feat(core): implement secure MVP core with dictionary search, auth, and CRUD
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user