feat: initial commit - EZBio Next.js 16 fullstack URL shortener & bio link

This commit is contained in:
Tien Tran committed 2026-09-28 00:28:09 -07:00
commit 569c10342f
64 files changed
+15670

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
# ==========================================
# EZBio Environment Configuration
# ==========================================
# Database Connection (PostgreSQL - Neon, Supabase, Vercel Postgres, or Local)
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/ezbio?schema=public"
# App & Domain Settings
NEXT_PUBLIC_APP_URL="http://localhost:3000"
APP_DOMAIN="localhost:3000"
# Authentication Secret (Generate with: openssl rand -base64 32)
AUTH_SECRET="your-super-secret-random-key-at-least-32-chars-long"
# ==========================================
# Cloudflare R2 Storage (S3 Compatible)
# ==========================================
# Free Tier: 10GB storage, 1M Class A, 10M Class B operations, 0$ egress
CLOUDFLARE_R2_ACCOUNT_ID=""
CLOUDFLARE_R2_ACCESS_KEY_ID=""
CLOUDFLARE_R2_SECRET_ACCESS_KEY=""
CLOUDFLARE_R2_BUCKET_NAME=""
CLOUDFLARE_R2_PUBLIC_URL=""
# Warning threshold in MB (10GB = 10240 MB)
CLOUDFLARE_R2_FREE_LIMIT_MB="10240"
CLOUDFLARE_R2_WARNING_PERCENT="80"
# Fallback: Set to "local" to store files in public/uploads when R2 is not configured
STORAGE_DRIVER="local"