Flask Foundations
Build web pages and a small JSON API with Flask.
What you'll learn
- Create routes and return HTML or JSON
- Render Jinja templates
- Handle forms
- Serve static files
About this course
You learn Flask by building a book list site. You cover routes, templates, forms and a JSON endpoint, with starter files for each lesson.
Course curriculum
4 modules and 12 lessons over 3 weeks. Plan for about 9 learning hours.
01Flask basicsWeek 1 · 3 lessons
- Installing Flask
- Routes
- Debug mode
02TemplatesWeek 1 · 3 lessons
- Jinja syntax
- Template inheritance
- Static files
03Forms and JSONWeek 2 · 3 lessons
- Form handling
- Flash messages
- JSON endpoints
04Book listWeek 3 · 3 lessons
- List and detail
- Add form
- API endpoint
Project
Book list app. A Flask site with book pages, an add form and a JSON endpoint.
Who this course is for
Python learners who want to build their first web app.
Prerequisites
You know Python basics.
What's included
- 120-day course access
- Step-by-step lessons
- Practice files
- Reusable code templates
- A graded final exercise
- A digital completion certificate
Learning format
Self-paced practical course, part of our self-paced courses. Graded final exercise with written feedback.
Access and delivery
- Enrollment is activated within 15 minutes after payment.
- Final exercise feedback is delivered within 2 business days of submission, and the completion certificate is issued within 2 business days after passing the final exercise.
Certificate
You receive a digital completion certificate. Final exercise feedback is delivered within 2 business days of submission, and the completion certificate is issued within 2 business days after passing the final exercise.
Frequently asked questions
When does access start?
Enrollment is activated within 15 minutes after payment.
Is payment taken on this website?
No. After you submit your enrollment request, we reply by email with payment details and enrollment confirmation.
Does this course guarantee a job or income?
No. It is an education and training service and does not include employment, income or placement guarantees.
Can I cancel?
Our Refund and Cancellation Policy lists the terms for self-paced course programs.