Initial commit: deardiary project setup

This commit is contained in:
lotherk
2026-03-26 19:57:20 +00:00
commit 3f9bc1f484
73 changed files with 8627 additions and 0 deletions

20
backend/.env.example Normal file
View File

@@ -0,0 +1,20 @@
# Database connection (SQLite, PostgreSQL, or MySQL)
DATABASE_URL="file:./data/totalrecall.db"
# Media storage directory
MEDIA_DIR="./data/media"
# JWT secret for authentication tokens (REQUIRED in production)
JWT_SECRET="change-this-to-a-random-string-in-production"
# Server port
PORT="3000"
# CORS origin (use specific domain in production)
CORS_ORIGIN="*"
# Example PostgreSQL connection:
# DATABASE_URL="postgresql://postgres:password@db:5432/totalrecall"
# Example MySQL connection:
# DATABASE_URL="mysql://root:password@localhost:3306/totalrecall"