Python Website Full Tutorial – Flask, Authentication, Databases & More



In this video, I’m going to be showing you how to make a website with Python, covering Flask, authentication, databases, and more. The goal of this video is to give you what you need to make a finished product that you can tweak, and turn into anything you like. We’re going to also go over how you create a new user’s account, how you store those in a database, how to log into those user accounts, how to log out of them, and how you associate that information with a specific user.

๐Ÿ”ฅ Sign up for a FREE TypingDNA Developer Account! https://www.typingdna.com/clients/signup.
Try the TypingDNA Demo: https://www.typingdna.com/#demo

๐Ÿ“ Code for this tutorial: https://github.com/techwithtim/Flask-Web-App-Tutorial

๐Ÿ“บ Fix Pip on Windows: https://www.youtube.com/watch?v=AdUZArA-kZw&t=10s
๐Ÿ“บ Fix Pip on Mac: https://www.youtube.com/watch?v=E-WhAS6qzsU

โญ๏ธ Timestamps โญ๏ธ
00:00:00 | Video Overview
00:01:50 | Project Demo
00:04:35 | Directory Structure
00:06:40 | Flask Setup & Installation
00:08:55 | Creating a Flask App
00:14:01 | Creating Routes/Views
00:21:50 | Jinja Templating Language & HTML Templates
00:47:22 | Sign Up Page HTML
00:52:14 | Login Page HTML
00:54:31 | HTTP Requests (POST, GET, etc.)
00:57:05 | Handling POST Requests
01:03:14 | Message Flashing
01:12:42 | Flask SQLAlchemy Setup
01:15:46 | Database Models
01:23:42 | Foreign Key Relationships
01:29:10 | Database Creation
01:34:14 | Creating New User Accounts
01:43:16 | Logging In Users
01:49:17 | Flask Login Module
01:56:03 | Checking if User is Logged In
01:58:54 | Notes HTML
02:02:41 | Adding User Notes
02:05:48 | Deleting User Notes

โ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธ
๐Ÿ’ฐ Courses & Merch ๐Ÿ’ฐ
๐Ÿ’ป The Fundamentals of Programming w/ Python: https://tech-with-tim.teachable.com/p/the-fundamentals-of-programming-with-python
๐Ÿ‘• Merchandise: https://teespring.com/stores/tech-with-tim-merch-shop

๐Ÿ”— Social Medias ๐Ÿ”—
๐Ÿ“ธ Instagram: https://www.instagram.com/tech_with_tim
๐Ÿ“ฑ Twitter: https://twitter.com/TechWithTimm
โญ Discord: https://discord.gg/twt
๐Ÿ“ LinkedIn: https://www.linkedin.com/in/tim-ruscica-82631b179/
๐ŸŒŽ Website: https://techwithtim.net
๐Ÿ“‚ GitHub: https://github.com/techwithtim
๐Ÿ”Š Podcast: https://anchor.fm/tech-with-tim

๐ŸŽฌ My YouTube Gear ๐ŸŽฌ
๐ŸŽฅ Main Camera (EOS Canon 90D): https://amzn.to/3cY23y9
๐ŸŽฅ Secondary Camera (Panasonic Lumix G7): https://amzn.to/3fl2iEV
๐Ÿ“น Main Lens (EFS 24mm f/2.8): https://amzn.to/2Yuol5r
๐Ÿ•น Tripod: https://amzn.to/3hpSprv
๐ŸŽค Main Microphone (Rode NT1): https://amzn.to/2HrZxXc
๐ŸŽค Secondary Microphone (Synco Wireless Lapel System): https://amzn.to/3e07Swl
๐ŸŽค Third Microphone (Rode NTG4+): https://amzn.to/3oi0v8Z
โ˜€๏ธ Lights: https://amzn.to/2ApeiXr
โŒจ Keyboard (Daskeyboard 4Q): https://amzn.to/2YpN5vm
๐Ÿ–ฑ Mouse (Logitech MX Master): https://amzn.to/2HsmRDN
๐Ÿ“ธ Webcam (Logitech 1080p Pro): https://amzn.to/2B2IXcQ
๐Ÿ“ข Speaker (Beats Pill): https://amzn.to/2XYc5ef
๐ŸŽง Headphones (Bose Quiet Comfort 35): https://amzn.to/2MWbl3e
๐ŸŒž Lamp (BenQ E-reading Lamp): https://amzn.to/3e0UCr8
๐ŸŒž Secondary Lamp (BenQ Screenbar Plus): https://amzn.to/30Dtafi
๐Ÿ’ป Monitor (BenQ EX2780Q): https://amzn.to/2HsmUPZ
๐Ÿ’ป Monitor (LG Ultrawide 34WN750): https://amzn.to/3dSD7tS
๐ŸŽ™ Mic Boom Arm (Rode PSA 1): https://amzn.to/30EZw9m
๐ŸŽš Audio Interface (Focusrite Scarlet 4i4): https://amzn.to/2TjXsih

๐Ÿ’ธ Donations ๐Ÿ’ธ
๐Ÿ’ต One-Time Donations: https://www.paypal.com/donate?hosted_button_id=CU9FV329ADNT8
๐Ÿ’ฐ Patreon: https://www.patreon.com/techwithtim
โ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธโ—ผ๏ธ

โญ๏ธ Tags โญ๏ธ
– Build a website
– Python tutorial
– Flask
– Learn Python
– How to use Python
– HTTP requests
– HTML Python
– User accounts Python

โญ๏ธ Hashtags โญ๏ธ
#PythonWebsite #TechWithTim

source

Categories:

Related Posts :-