Coastal Timesheet v2 — full feature buildout
Features: - Copy Previous Week (entries duplication) - Bulk Approve/Reject (admin workflow) - Overtime tracking (employee + admin views) - DayCard component with auto-save - PDF generation, email notifications - React + Tailwind frontend, Prisma + PostgreSQL backend - Docker deployment (3 containers)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# ─── Database ───────────────────────────────────────────
|
||||
DATABASE_URL=postgresql://coastal:coastal_secret@localhost:5432/coastal_timesheet
|
||||
|
||||
# ─── JWT Secrets ────────────────────────────────────────
|
||||
# Generate with: node -e "console.log(require('crypto').randomBytes(64).toString('hex'))"
|
||||
JWT_SECRET=change-me-to-a-random-64-byte-hex-string
|
||||
JWT_REFRESH_SECRET=change-me-to-a-different-random-64-byte-hex-string
|
||||
|
||||
# ─── Server ────────────────────────────────────────────
|
||||
PORT=3001
|
||||
NODE_ENV=development
|
||||
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
|
||||
|
||||
# ─── SMTP (Email) ──────────────────────────────────────
|
||||
SMTP_HOST=smtp.gmail.com
|
||||
SMTP_PORT=587
|
||||
SMTP_USER=your-email@gmail.com
|
||||
SMTP_PASS=your-app-password
|
||||
SMTP_FROM=your-email@gmail.com
|
||||
|
||||
# ─── Admin ──────────────────────────────────────────────
|
||||
ADMIN_EMAIL=bizzle@coastalcontracting.com
|
||||
Reference in New Issue
Block a user