The rebuild branch starts over (REBUILD.md): the API starter kit, with Postgres instead of SQLite (its own database, DB_SEARCH_PATH for a shared one in development) and the #lib alias. Phase 1's code is imported from the current app module by module. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
529 B
Bash
25 lines
529 B
Bash
# Node
|
|
TZ=UTC
|
|
PORT=3333
|
|
HOST=localhost
|
|
NODE_ENV=development
|
|
|
|
# App
|
|
LOG_LEVEL=info
|
|
APP_KEY=
|
|
APP_URL=http://${HOST}:${PORT}
|
|
|
|
# Session
|
|
SESSION_DRIVER=cookie
|
|
|
|
# Database (the rebuild's own)
|
|
DB_HOST=127.0.0.1
|
|
DB_PORT=5432
|
|
DB_USER=usenet_indexer
|
|
DB_PASSWORD=
|
|
DB_DATABASE=usenet_rebuild
|
|
|
|
#--------------------------------------------------------------------
|
|
# CORS (configure allowed origins for API access)
|
|
#--------------------------------------------------------------------
|
|
# CORS_ORIGIN=http://localhost:5173,http://localhost:3000 |