
Explore Flask from basics to building real, working web applications, with databases, templates, and many more Flask concepts, plus code shown in lectures and helpful summaries.
Learn how to use Flask to build complete web apps or simple sites, install the module, and run a hello world locally with Jinja templates.
Learn how to use virtualenv to create isolated Python environments, allowing each Flask project to run different package versions without conflicts.
Create and run a Flask web app in a virtual environment, define routes like /hello and the default /, return text from functions, and start the server on port 5000.
Create and map routes to functions in a Flask app, including slash, index, author, and copyright routes, install Flask in a virtual environment, then run and test the server.
Explore dynamic routes in Flask, using optional parameters to create flexible urls and map them to functions, while also understanding static routes and parameter handling.
Set up a flask shop app, activate a virtual environment, install flask, and implement a dynamic product route with a product_index function; run on port 5000 to view products.
Learn to build web apps with Flask templates, from creating a virtual environment and installing Flask to rendering templates with render_template and mapping routes to index pages.
Explore template variables in Python Flask to create dynamic routes, pass a name parameter to render_template, and render personalized content in templates.
Create a context dictionary of variables and pass it to the rendered template function. Iterate the dictionary with items() in Python 3 and render a table of key-value pairs.
Master control flow in templates with if statements and loops. Pass lists to templates and render content conditionally for dynamic pages like a shopping cart.
Create and populate a static directory in your Flask app to store images and data files, then reference these files in templates and serve them through routes.
Build a Flask web app and apply css by linking a style sheet in templates. Set up virtual environments, static and templates directories, render templates, and style the hello page.
Set up a virtual environment and install flask to build a bmi calculator with height and mass inputs, posting to /BMI, converting inputs, calculating bmi, and displaying results with bootstrap.
Learn to use abort in Flask to return specific error codes like 404 and 401, guiding browsers with targeted error messages in web routes.
Learn how Flask handles http get and post requests using templates and forms to collect user input, post login data, and navigate to a success page.
Learn to build multiple forms in a Flask app, including a registration form that posts to results, handle form data with a dictionary, and display results in a template.
Create a Flask file upload workflow with two routes, an upload form, and a post handler, saving uploaded files to the project directory and confirming success.
Learn how cookies, simple text files stored on a user's computer, enable a Flask web app to save and read a login cookie through a form and post requests.
Learn to replace cookies with server-side sessions in Flask, storing user data as key-value pairs and persisting until deleted. Set a secret key, access session['username'], and clear session on logout.
Learn how to use SQLite in a Flask web app by creating a file-based database, defining a users table, inserting and retrieving data, and rendering it in templates.
Create a SQLite products table with auto-increment id, name, and price fields; insert records, then build a Flask route to fetch and render them in a products.html template with currency.
Use Flask with SQLAlchemy to map Python classes, like customer, to database tables, avoiding data duplication. Define models, create the database, and access data by objects through routes.
This course will teach you how to make your first Python Flask Web Applications
The course includes a web app project to help you get started building apps. It covers all the basics to start writing your own applications. It covers URL Routing, Jinja 2 templates, Cookies, Sessions and other web technologies!
We expect you know the basics of Python, HTML and CSS. But don't worry if you're not an expert on these topics yet.
Enough reading. Time to code