first commit
This commit is contained in:
commit
6e354ba041
109 changed files with 12110 additions and 0 deletions
19
backend/.env.example
Normal file
19
backend/.env.example
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Database — SQLite works out of the box for local dev
|
||||
DATABASE_URL=sqlite:///./silos.db
|
||||
|
||||
# For PostgreSQL (with docker compose up -d), use instead:
|
||||
# DATABASE_URL=postgresql+psycopg2://silos:silos_secret@localhost:5432/silos
|
||||
|
||||
# MongoDB (for whiteboards & sketches — used in later phases)
|
||||
MONGODB_URL=mongodb://localhost:27017
|
||||
MONGODB_DB=silos
|
||||
|
||||
# Auth
|
||||
SECRET_KEY=change-this-to-a-long-random-secret-key-in-production
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES=60
|
||||
REFRESH_TOKEN_EXPIRE_DAYS=7
|
||||
|
||||
# App
|
||||
APP_NAME=Silos API
|
||||
DEBUG=true
|
||||
CORS_ORIGINS=http://localhost:5173,http://127.0.0.1:5173
|
||||
Loading…
Add table
Add a link
Reference in a new issue