chore: add .env.example

This commit is contained in:
notshop 2026-04-26 16:34:54 +00:00
parent 7b5b552471
commit db3fceacbc

30
.env.example Normal file
View file

@ -0,0 +1,30 @@
# ── Database ───────────────────────────────────────────────────────────────────
DATABASE_URL=postgresql://user:password@localhost:5432/notshop
# ── Session ────────────────────────────────────────────────────────────────────
SESSION_SECRET=change-me-to-a-long-random-string
# ── Authorize.net (primary payment gateway) ─────────────────────────────────────
# Get credentials at https://developer.authorize.net
AUTHORIZE_NET_API_LOGIN_ID=
AUTHORIZE_NET_TRANSACTION_KEY=
AUTHORIZE_NET_PUBLIC_CLIENT_KEY=
AUTHORIZE_NET_SANDBOX=true # set to false for live production charges
# ── Stripe (optional secondary gateway) ──────────────────────────────────────────
# Leave blank to disable Stripe. When set, enables Stripe payment option at checkout.
STRIPE_SECRET_KEY=
STRIPE_PUBLISHABLE_KEY=
# ── Email (Resend) ─────────────────────────────────────────────────────────────
# Get a free API key at https://resend.com
RESEND_API_KEY=
# ── Store identity ─────────────────────────────────────────────────────────────
STORE_NAME=My Store
STORE_EMAIL_FROM=orders@example.com
# ── Replit-only ────────────────────────────────────────────────────────────────
# PORT is set automatically by Replit; leave blank locally (defaults to 5000)
PORT=5000
NODE_ENV=development