Create a Video Membership Web App from Scratch with Python, NoSQL, & FastAPI

preview_player
Показать описание
Create a Video Membership Web App from Scratch with Python, NoSQL, & FastAPI

In this one, we'll learn how to implement a number of key features from scratch in building a video membership site including:

- Creating Users (with custom fields) from scratch
- Saving Secure, Hashed, Passwords
- Authentication
- Video Analytics & Resumable Videos
- Search Engine
- And much more

Links:

00:00:00 Welcome
00:05:27 Requirements
00:06:51 Setup VSCode & Python Virtual Environment
00:12:12 Hello World with FastAPI
00:18:58 Picking a Database
00:24:56 Create our NoSQL Database with AstraDB
00:27:48 Basic AstraDB Configuration for FastAPI
00:35:54 Configuration & Environment Variables
00:43:30 Create our User model with Python & Cassandra
00:51:08 Sync Cassandra Tabels via FastAPI On Startup
00:58:40 Create a user via shell
01:02:05 List Stored Values on API Endpoint
01:05:15 User Create Method & Email Validation
01:13:12 Security & Password Hashing
01:22:45 Interactive Notebook to Analyze New Features
01:32:18 Automated Tests
01:50:25 Jinja Templates to Render HTML
02:00:00 Jinja Template Inheritance & More
02:06:44 FastAPI Forms FastAPI Login & Sign Up Forms
02:15:16 User Data Validation with pydantic
02:26:10 Implement pydantic Data Validation
02:35:44 Pydantic Valid Data or Error Method
02:44:06 Experiment with JWT Tokens
02:58:02 Implement Auth Methods for JWT Tokens
03:07:53 Shortcut Method for Rendering Jinja Templates
03:19:53 Using Cookies & httponly within FastAPI
03:27:54 Login & Set JWT
03:37:09 Redirect Shortcut
03:41:53 Login Required Decorator
03:52:36 Render a template for HTTP Errors
04:04:24 Authentication Middleware Backend
04:20:50 Video Model
04:27:57 YouTube Video ID Extraction
04:35:17 Notebook to Verify Video Add Feature
04:41:51 Custom Exception Classes for Videos
04:46:21 Routers for Sub Modules in FastAPI
04:52:51 Video Create Schema
05:02:59 Video Create View
05:06:00 Video Create View Form
05:18:52 Video List View & Title Field
05:29:43 Dynamic URL Routing & Video Detail View
05:40:50 Render Video on Detail Page
05:46:56 The YouTube JavaScript Player
06:34:13 Video Watch Events Endpoint in FastAPI
06:45:17 Watch Event Model
06:55:30 Drop Table from Cassandra Database via Notebook
07:03:45 More Watch Event Data
07:09:24 Pydantic Model for Watch Event Data
07:17:40 Watch Event Router
07:22:32 Get Video Resume Time
07:30:07 Playlist Model & Cassandra List Column
07:34:42 Playlist Tests in Notebooks
07:45:25 Playlist Routing & Templates
07:55:36 HTMX, FastAPI, & Jinja
08:04:07 Use HTMX to Handle Form Data
08:16:36 Get or Create Video for Playlists
08:24:49 Playlist Routers for Handling Video Additions
08:37:23 Playlist Video Schema
08:48:58 Remove Playlist Item via HTMX
09:01:13 Edit or Remove Video
09:11:04 Edit or Remove Video via HTMX
09:27:16 Add Bootstrap & Improve Usability
10:07:19 Login Required HTMX Redirect Header
10:11:10 Logout View
10:18:58 Prepare our Search Index
10:33:00 Implement Algolia Client & API
10:41:43 Update Search Index
10:49:46 Search View & Update Index Method
11:03:25 Thank you and next steps
Рекомендации по теме
Комментарии
Автор

Let's do this!
Chapters

00:00:00 Welcome
00:05:27 Requirements
00:06:51 Setup VSCode & Python Virtual Environment
00:12:12 Hello World with FastAPI
00:18:58 Picking a Database
00:24:56 Create our NoSQL Database with AstraDB
00:27:48 Basic AstraDB Configuration for FastAPI
00:35:54 Configuration & Environment Variables
00:43:30 Create our User model with Python & Cassandra
00:51:08 Sync Cassandra Tabels via FastAPI On Startup
00:58:40 Create a user via shell
01:02:05 List Stored Values on API Endpoint
01:05:15 User Create Method & Email Validation
01:13:12 Security & Password Hashing
01:22:45 Interactive Notebook to Analyze New Features
01:32:18 Automated Tests
01:50:25 Jinja Templates to Render HTML
02:00:00 Jinja Template Inheritance & More
02:06:44 FastAPI Forms FastAPI Login & Sign Up Forms
02:15:16 User Data Validation with pydantic
02:26:10 Implement pydantic Data Validation
02:35:44 Pydantic Valid Data or Error Method
02:44:06 Experiment with JWT Tokens
02:58:02 Implement Auth Methods for JWT Tokens
03:07:53 Shortcut Method for Rendering Jinja Templates
03:19:53 Using Cookies & httponly within FastAPI
03:27:54 Login & Set JWT
03:37:09 Redirect Shortcut
03:41:53 Login Required Decorator
03:52:36 Render a template for HTTP Errors
04:04:24 Authentication Middleware Backend
04:20:50 Video Model
04:27:57 YouTube Video ID Extraction
04:35:17 Notebook to Verify Video Add Feature
04:41:51 Custom Exception Classes for Videos
04:46:21 Routers for Sub Modules in FastAPI
04:52:51 Video Create Schema
05:02:59 Video Create View
05:06:00 Video Create View Form
05:18:52 Video List View & Title Field
05:29:43 Dynamic URL Routing & Video Detail View
05:40:50 Render Video on Detail Page
05:46:56 The YouTube JavaScript Player
06:34:13 Video Watch Events Endpoint in FastAPI
06:45:17 Watch Event Model
06:55:30 Drop Table from Cassandra Database via Notebook
07:03:45 More Watch Event Data
07:09:24 Pydantic Model for Watch Event Data
07:17:40 Watch Event Router
07:22:32 Get Video Resume Time
07:30:07 Playlist Model & Cassandra List Column
07:34:42 Playlist Tests in Notebooks
07:45:25 Playlist Routing & Templates
07:55:36 HTMX, FastAPI, & Jinja
08:04:07 Use HTMX to Handle Form Data
08:16:36 Get or Create Video for Playlists
08:24:49 Playlist Routers for Handling Video Additions
08:37:23 Playlist Video Schema
08:48:58 Remove Playlist Item via HTMX
09:01:13 Edit or Remove Video
09:11:04 Edit or Remove Video via HTMX
09:27:16 Add Bootstrap & Improve Usability
10:07:19 Login Required HTMX Redirect Header
10:11:10 Logout View
10:18:58 Prepare our Search Index
10:33:00 Implement Algolia Client & API
10:41:43 Update Search Index
10:49:46 Search View & Update Index Method
11:03:25 Thank you and next steps

CodingEntrepreneurs
Автор

I am Very thankful to you as you brought another brand new complete tutorial on FastAPI. I recently got an intern job as a backend developer. I cannot deny your contribution behind my skills growing. Still I am gradually learning from you master.

tanjimulislam
Автор

Guys believe me is super hard to create 11-hour video with editing in single video ! +++ great course

NiM
Автор

I wrote myself django code following your django for begginners full course, and I went on to follow your blog tutorials in the first year and today I am a where I am as a developer and thank you to the role you played with your selfless hardwork in helping me when I was curious and yet lacking a clue how its done

baridzimaximillem
Автор

I'm 2 hours in, but this astoundingly good and just what I needed - step by step, start to finish development of a web app. I have an idea for a web app, but I have no clue how to approach some obstacles and hopefully going through a complete project will serve as a guidance of sorts. My background in coding is using Python for data analysis, so lots of useful nuggets thus far for me.

OloNadTrolo
Автор

I have grown so much from your content, a newbie who changed career from journalism to tech, I have so much I have collected from you, this far wah!!! May Allah bless You abundantly...

danielkamau
Автор

Just started, but can already tell I am going to learn a lot. Thanks for the guide!

LilituLitu
Автор

hey Justin, thanks for the tutorial, i just want to thank you that i got a good paying job right after graduation because i used your django videos to build my fundamentals

professionalfacepuncher
Автор

Amazing as always, thanks for all of your time so far

bumblebeeable
Автор

thank you so much Justin !
your work is invaluable, helping us to get better and better.

you are the absolute Django rock star ! !

steliosioannides
Автор

What a Christmas gift, Thank you sir for your knowledge, will try this.

Noritoshi-rm
Автор

Awesome in-depth and well-explained tutorial!

impfect
Автор

FastAPI multi tenant application.

I've really learnt from this channel. Thank you Justin

TheAremoh
Автор

What a gift for Xmas.

Great tutorial as always

TheAremoh
Автор

Loved this. Subscribed. looking forward to more. Thank you

musasibuyi
Автор

Thank you very much! I've learned a lot!

excels
Автор

Omg 11 Hours. Thank u very much. I wish u a merry Christmas n a happy new year 🥂🍾❣️

minnami
Автор

stunning content, and yet for free, unbelievable!!
Learning a lot, thanks for existing :)
~still 2 hours in it, cant wait to get the full content..

renancatan
Автор

Thank CFE for another great tutorial. It's a happy new year and a great journey into FastAPI with you. God bless!

abrahamngetich
Автор

The way you explain is mind blowing :)

smartchandan