18 lines
677 B
Plaintext
18 lines
677 B
Plaintext
# --- apps/api ---
|
|
# Postgres connection string used by Prisma
|
|
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/superlist?schema=public"
|
|
# Port the Hono server listens on
|
|
PORT=4100
|
|
# Comma separated list of origins allowed by CORS (the web dev server)
|
|
CORS_ORIGIN="http://localhost:7153"
|
|
# Secret used by BetterAuth to sign sessions
|
|
BETTER_AUTH_SECRET="change-me-with-openssl-rand-base64-32"
|
|
# Public URL of the API, used by BetterAuth
|
|
BETTER_AUTH_URL="http://localhost:4100"
|
|
# "development" enables pretty logs, "production" emits JSON
|
|
NODE_ENV="development"
|
|
|
|
# --- apps/web ---
|
|
# Public URL of the API consumed by the frontend
|
|
VITE_API_URL="http://localhost:4100"
|