Assignment - Deployment & Best Practices
Project Overview
In this assignment, you'll deploy a complete Express API with proper configuration. You'll practice implementing environment variables, securing your application, and following deployment best practices.
Project Resources
Project Requirements
- Extract all configuration into environment variables
- Create a .env.example file with dummy values
- Add proper error handling for missing environment variables
- Set up continuous deployment to Heroku
- Configure environment variables on Heroku
- Implement proper logging for different environments
- Add security headers using middleware
- Document deployment process in README
- Test the application in both development and production environments
Submission Instructions
- Push your code to GitHub
- Submit your repository URL through the LMS
- Include a README with:
- Setup instructions
- Environment variable requirements
- Deployment steps
- Testing instructions
- Provide the URL of your deployed application
Grading Criteria
- Environment variables properly configured (25%)
- Deployment process working correctly (25%)
- Security best practices implemented (25%)
- Documentation and testing (25%)