Description
In this course, you will learn :
- Flask Web Development.
- SQLAlchemy & Flask SQLAlchmey.
- Gunicorn & Production-ready Flask Project.
- Building a Web App.
Syllabus :
1. URLs, Views, and Template
- URL Routing
- Flask App as Package
- Modules Driving One Purpose
- Render HTML Template
- Render Template Variables
- Keep Logic in Views not Templates
- Jinja Templates & Base HTML
- Render JSON
2. Forms with Flask
- Landing Page Form
- POST Method and Request Data
- Validation & CSRF
- Python eval
- Adding CSRF Protection to Flask
- A Form with Flask WTF
3. Form Validation with Flask
- Basic Form Validation with wtforms
- Email & Custom Validation with wtforms
- Render the Flask WTF Form in Template
- Input Class and Placeholder in Flask WTF Forms
4. Database & Models
- Setup a Database.
- Your First Model with SQLAlchemy
- Save to Database
- Track Modification Error
- Database Actions in Flask Shell
- Convenience Methods for CRUD
5. Create Update Retrieve and Delete with Views and Forms
- Saving Data to a Model via a Form
- Validation Form against Database with Model Lookup
- Database Object to Detail View
- First or 404
- Update View and Prefill Form Data
- Save Updates in Update View
- Exclude Items from SQLAlchemy Query
- Delete & Confirm
- List View and Redirects
6. Navigation
- Navbar with Include
- Dynamic URL Paths with url_for
- url_for with Arguments
7. Database and Migrations
- Signals
- Change Models with Flask Migrate
- Fresh Migrate and DB
- Migrate Again
8. Production and Going Live
- Password Protect a View
- Prep Landing Page for Production
- Gunicorn Server
- Heroku and Live App
- Making Changes for Production
- Custom Domain
- Adding HTTPs with ACM