basic-flask-app
basic-flask-app copied to clipboard
This is New Feature & upgration in 2025
Title :
Updated routes.py, requirements.txt, and added Dockerfile for better app setup
Description :
What I did:
In this pull request, I made several updates to improve the application setup and dependencies. Here are the main changes:
- Updated
routes.py: Improved routing logic for better application flow. - Updated
requirements.txt: Removed old versions of libraries and added new ones to ensure compatibility with the latest features. - Added
Dockerfile: Created a Dockerfile to containerize the app, making it easier to deploy and run the application in different environments.
Changes made :
- Refactored routes in
routes.pyto streamline request handling. - Updated and optimized libraries in
requirements.txt. - Created a Dockerfile to allow for easy setup and deployment of the app in a Docker container.
How I tested it :
- Ran the application locally to ensure the new routes and dependencies work properly.
- Built and tested the Docker container to confirm that the app runs smoothly inside the container.
Next Steps :
- You can build the Docker image using
docker build -t flask-app .and run it withdocker run -p 5000:5000 flask-app. - Please test the new features and let me know if there are any issues!