# LogicSRC credentials app — copy to .env and fill in.
NODE_ENV=development
PORT=8080
PUBLIC_ORIGIN=http://localhost:8080

# datastore: Turso (libSQL) in prod, or file:./data/local.db for local dev
TURSO_DATABASE_URL=file:./data/local.db
TURSO_AUTH_TOKEN=

# auth — generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
SESSION_SECRET=change-me-32-bytes-hex

# email invites via Resend (optional — without it, invite tokens are returned in the API response)
RESEND_API_KEY=
CREDSHARE_EMAIL_FROM=LogicSRC <noreply@logicsrc.com>

# "Sign in with CoinPay" (optional)
COINPAY_API_BASE=https://coinpayportal.com
COINPAY_OAUTH_AUTHORIZE_URL=https://coinpayportal.com/oauth/authorize
COINPAY_OAUTH_TOKEN_URL=https://coinpayportal.com/api/oauth/token
COINPAY_OAUTH_USERINFO_URL=https://coinpayportal.com/api/oauth/userinfo
COINPAY_OAUTH_CLIENT_ID=
