Project Brief
No matter what Python specialization you are following, sooner or later you will need to build a web app with Python to show something to the world.
When that happens, Flask is a great choice as a Python web framework for building web apps with Python. It is simple, yet powerful. In yesterday’s project, we built a simple file uploader web app with Flask. To make that web app more visually appealing, your task for today is to add Bootstrap styling to that app.
You can find the source code of that app in this link. Once you add Bootstrap styling to that existing Python code, the web app interface should look similar to the following. Notice this looks more modern than yesterday’s output.
Once the user uploads a file, they should be taken to a success page like the following. The success page also has Bootstrap styling applied:
Environment Setup Instructions
Install the library with:
pip install flask
Run the app with python main.py
Resources
Learn how to create Flask apps here:
https://pythonhow.com/how/create-flasks-apps/
Understand how Bootstrap works here:
https://pythonhow.com/what/bootstrap-beginners-tutorial/
Learn how to combine Bootstrap with a Flask app here:
https://pythonhow.com/what/using-bootstrap-with-flask/
It seems like a great idea to break a big project into little pieces.
Excellent teaching on how to tackle the most complex problems.