Initial commit: Helpdesk application setup
- Backend: Node.js/TypeScript with Prisma ORM - Frontend: Vite + TypeScript - Project configuration and documentation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
19
backend/.env.example
Normal file
19
backend/.env.example
Normal file
@@ -0,0 +1,19 @@
|
||||
# Database
|
||||
DATABASE_URL="postgresql://user:password@localhost:5432/helpdesk_db"
|
||||
|
||||
# JWT
|
||||
JWT_SECRET="your-super-secret-key-change-this"
|
||||
JWT_REFRESH_SECRET="your-refresh-secret-change-this"
|
||||
JWT_EXPIRES_IN="15m"
|
||||
JWT_REFRESH_EXPIRES_IN="7d"
|
||||
|
||||
# Server
|
||||
PORT=3001
|
||||
NODE_ENV="development"
|
||||
|
||||
# Frontend URL (for CORS)
|
||||
FRONTEND_URL="http://localhost:5173"
|
||||
|
||||
# File Upload
|
||||
UPLOAD_DIR="./uploads"
|
||||
MAX_FILE_SIZE=10485760
|
||||
Reference in New Issue
Block a user