chore: scaffold turbo monorepo with hono api and react admin web
This commit is contained in:
17
.env.example
Normal file
17
.env.example
Normal file
@@ -0,0 +1,17 @@
|
||||
# --- 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=3000
|
||||
# Comma separated list of origins allowed by CORS (the web dev server)
|
||||
CORS_ORIGIN="http://localhost:5173"
|
||||
# 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:3000"
|
||||
# "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:3000"
|
||||
Reference in New Issue
Block a user