π Overview
Set up backend environment configuration and database to support the new frontend-backend integration.
β
Acceptance Criteria
π§ Required Environment Variables
DATABASE_URL="postgresql://username:password@localhost:5432/techcare_db"
JWT_SECRET="your_super_secret_jwt_key_here"
JWT_EXPIRY="7d"
EMAIL_HOST="smtp.your-email-provider.com"
EMAIL_PORT=587
EMAIL_USER="your-email@domain.com"
EMAIL_PASS="your-email-password"
MAX_FILE_SIZE=5242880
UPLOAD_DIR="uploads"
PORT=3000
NODE_ENV=development
π Tasks
- Create and configure .env file
- Set up PostgreSQL database
- Run database migrations
- Test API endpoints with Postman
- Verify file upload functionality
β±οΈ Estimated Time: 2-3 hours