Skip to content

Latest commit

Β 

History

History
20 lines (11 loc) Β· 854 Bytes

File metadata and controls

20 lines (11 loc) Β· 854 Bytes

πŸš€ PROJECT DEVELOPMENT RECOMMENDATIONS

βœ… Add unit tests and integration tests for backend and frontend

βœ… Implement static code analysis:

  • flake8 or pylint for Python
  • eslint for Node.js

βœ… Use multi-stage Docker builds to reduce the size of images

βœ… Set up deployment to a server or cloud (e.g. Render, Railway, Kubernetes, AWS)

βœ… Add HTTPS and automatic SSL certificates using Let's Encrypt (https://letsencrypt.org/)

βœ… Store secrets and configurations via .env files, GitHub Secrets, Docker Compose env_file

βœ… Add Healthchecks to docker-compose for backend and frontend to make sure that services are fully operational before nginx is launched

βœ… Use a production-ready WSGI server, such as Gunicorn, instead of the built-in Flask server to improve performance and stability