Files
homefeed/backend/.env.example
T

12 lines
445 B
Bash

PORT=4000
FRONTEND_ORIGIN=http://localhost:5173
DB_PATH=./data/homefeed.db
MEDIA_DIR=./data/media
# There's no admin username/password to configure here — the backend generates a
# random API key on every startup and prints it to the console. Copy that key into
# the admin login page (every /api/admin/* request requires it as an X-Api-Key
# header). It changes on every restart, so check the console output each time.
NODE_ENV=development