-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
π Overview
Set up backend environment configuration and database to support the new frontend-backend integration.
β Acceptance Criteria
- .env file created with all required variables
- PostgreSQL database techcare_db created
- Prisma migrations executed successfully
- Health check endpoint returns successful connection
- All existing API endpoints tested
π§ 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Type
Projects
Status
No status