Why You NEED To Learn FastAPI | Hands On Project

Travis Media August 6, 2023
Video Thumbnail
Travis Media Logo

Travis Media

@travismedia

About

Hi, my name is Travis and I am a self-taught software developer of 7 years. I learned to code and stepped out as a full-time freelance within 1 year. Since then I have entertained full-stack development, DevOps, and Site Reliability Engineering and have documented my journey here on the channel. Here you'll find coding tutorials, career advice, professional coding tips, life hacks, and the ups and downs of this highly enriching journey of software engineering. I make videos specifically for YOU and if there is anything specific you would like to request please don't hesitate to ask. If all this sounds like something that can help you on your own coding journey, consider subscribing and joining me along the way! Kind Regards, Travis

Video Description

FastAPI is my absolute favorite Python API because of its modern features not found in other APIs. In this video, I'll discuss 7 advantages that FastAPI has over other alternatives, like an API built with Flask, and I'll do this WHILE building out a fun little ToDo app. Code along with me! Become a community member to access Part 2 and Part 3 of this course where we connect the API to SQL and then build out a React front-end for it. More information here - https://geni.us/s1cB Timestamps 00:00 Intro 00:43 Why are APIs so important? 03:30 Project setup 04:07 Installation and server 04:40 First basic route 05:10 Advantage 1 - It's just plain Python 05:35 Advantage 2 - Async built-in 06:50 Structuring our routes 07:52 GET todos 08:28 POST todo 09:00 Advantage 3 - Data validation built-in 10:37 Advantage 4 - Typed Python! 11:44 GET todo 14:13 DELETE todo 15:35 UPDATE todo 18:19 Advantage 5 - Errors are in JSON 18:28 Advantage 6 - Authentication methods built-in 18:50 Advantage 7 - Swagger and ReDoc built-in 20:41 Outro Dive deep with FastAPI on Udemy https://geni.us/y3m6 ** Career Path Coding Tracks ** Web Developer - https://geni.us/jBigBd Software Engineer - https://geni.us/AbMxjrX Machine Learning - https://geni.us/GporLlT Python Developer - https://geni.us/tv2FJBU DevOps Engineer - https://geni.us/MgHtJ ** My Coding Blueprints ** Learn to Code Web Developer Blueprint - https://geni.us/HoswN2 AWS/Python Blueprint - https://geni.us/yGlFaRe ** I write regularly ** https://travis.media ** FREE EBOOKS ** 📘 https://travis.media/ebooks LET'S CONNECT! 📰 LinkedIn ➔ https://www.linkedin.com/in/travisdot... 🐦 Twitter ➔ https://twitter.com/travisdotmedia​ 🙋🏼‍♂️ Website ➔ https://travis.media #fastapi #pythonprogramming #api ** Some of the links in this description may be affiliate links that I may get a little cut of. Thank you.

Create Your Own Arch Magic

AI-recommended products based on this video

Loading...
GE Advanced Silicone Kitchen & Bath Sealant, Clear, 82.8 ml Tube, Pack of 1

GE Advanced Silicone Kitchen & Bath Sealant, Clear, 82.8 ml Tube, Pack of 1

(0)
$9.99
FREE delivery Tue, Apr 7 on your first order
100+ bought in past month
Loading...
Crest Toothpaste 3DWhite Deep Stain Remover Ultra White - Daily Use - 67mL - Pack of 2

Crest Toothpaste 3DWhite Deep Stain Remover Ultra White - Daily Use - 67mL - Pack of 2

(1,042)
$16.99
FREE delivery Sun, Mar 29 on your first order
3K+ bought in past month
Loading...
Anti Snoring Devices Mouth Guard: Snore Guard Anti-snoring Device - Snoring Solution- No Moldable and Easy to Fit (1 Count (Pack of 1))

Anti Snoring Devices Mouth Guard: Snore Guard Anti-snoring Device - Snoring Solution- No Moldable and Easy to Fit (1 Count (Pack of 1))

(2)
$35.99
FREE delivery Sun, Jan 4
Loading...
Goose Feather Pillow Queen Size Pack of 2 - Down Hotel Bed Pillows for Sleeping, Soft 600 Thread Count Cotton Cover, Fluffy Support Surround Fill Polyester for Back, Stomach, Side Sleepers

Goose Feather Pillow Queen Size Pack of 2 - Down Hotel Bed Pillows for Sleeping, Soft 600 Thread Count Cotton Cover, Fluffy Support Surround Fill Polyester for Back, Stomach, Side Sleepers

(99)
$79.99
FREE delivery Tue, Dec 30
Loading...
Dark Purple Braiding Hair Pre Stretched Yaki Straight 2 Packs 90g/Pack Extra Long Hair Extensions Crochet Braids 26 Inch/66 CM

Dark Purple Braiding Hair Pre Stretched Yaki Straight 2 Packs 90g/Pack Extra Long Hair Extensions Crochet Braids 26 Inch/66 CM

(9)
$23.39
FREE delivery Thu, Nov 6 on your first order
600+ bought in past month
Loading...
Always Anti-Bunch Xtra Protection Daily Liners, Extra Long Length, Unscented, Feel Clean and Comfortable, 116 Count

Always Anti-Bunch Xtra Protection Daily Liners, Extra Long Length, Unscented, Feel Clean and Comfortable, 116 Count

(187)
$14.97
FREE delivery Wed, Aug 27 on your first order
2K+ bought in past month
Loading...
Moon Wood Women Thigh High Socks Extra Long Cotton Knit Warm Thick Tall Long Boot Stockings Leg Warmers
Best Seller

Moon Wood Women Thigh High Socks Extra Long Cotton Knit Warm Thick Tall Long Boot Stockings Leg Warmers

(16,208)
$11.69
FREE delivery Sat, Jun 14 on your first order
100+ bought in past month
Loading...
127PCS Graduation Balloon Garland Kit Black and Gold Balloon Arch Kit Gold Silver Black Balloons Star Balloons Diploma Champagne Balloon for Graduation Decorations New Year Decorations

127PCS Graduation Balloon Garland Kit Black and Gold Balloon Arch Kit Gold Silver Black Balloons Star Balloons Diploma Champagne Balloon for Graduation Decorations New Year Decorations

(120)
$10.55
FREE delivery Sat, Feb 14 on your first order
Loading...
127PCS Graduation Balloon Garland Kit Black and Gold Balloon Arch Kit Gold Silver Black Balloons Star Balloons Diploma Champagne Balloon for Graduation Decorations New Year Decorations

127PCS Graduation Balloon Garland Kit Black and Gold Balloon Arch Kit Gold Silver Black Balloons Star Balloons Diploma Champagne Balloon for Graduation Decorations New Year Decorations

(120)
$10.55
FREE delivery Sat, Feb 14 on your first order
Loading...
Scotch Heavy Duty Shipping Packaging Tape, 1 Roll with Dispenser, 1.88" x 22.2 Yards, 1.5" Core, Great for Packing, Shipping & Moving, Clear (142)

Scotch Heavy Duty Shipping Packaging Tape, 1 Roll with Dispenser, 1.88" x 22.2 Yards, 1.5" Core, Great for Packing, Shipping & Moving, Clear (142)

(4,134)
$5.98
FREE delivery Sat, Jun 14 on your first order
1K+ bought in past month
Loading...
AstroAI Tire Inflator Portable Air Compressor Air Pump for Car Tires-Car Accessories, 9.8Ft Cord-12V DC-Powered Auto Pump with Digital Pressure Gauge, Emergency LED Light for Bicycle, Balloons, Yellow

AstroAI Tire Inflator Portable Air Compressor Air Pump for Car Tires-Car Accessories, 9.8Ft Cord-12V DC-Powered Auto Pump with Digital Pressure Gauge, Emergency LED Light for Bicycle, Balloons, Yellow

(101,205)
$35.69
Prime
3K+ bought in past month
Loading...
AstroAI Tire Inflator Portable Air Compressor Air Pump for Car Tires-Car Accessories, 9.8Ft Cord-12V DC-Powered Auto Pump with Digital Pressure Gauge, Emergency LED Light for Bicycle, Balloons, Yellow

AstroAI Tire Inflator Portable Air Compressor Air Pump for Car Tires-Car Accessories, 9.8Ft Cord-12V DC-Powered Auto Pump with Digital Pressure Gauge, Emergency LED Light for Bicycle, Balloons, Yellow

(101,205)
$35.69
Prime
3K+ bought in past month
Loading...
127PCS Graduation Balloon Garland Kit Black and Gold Balloon Arch Kit Gold Silver Black Balloons Star Balloons Diploma Champagne Balloon for Graduation Decorations New Year Decorations

127PCS Graduation Balloon Garland Kit Black and Gold Balloon Arch Kit Gold Silver Black Balloons Star Balloons Diploma Champagne Balloon for Graduation Decorations New Year Decorations

(120)
$10.55
FREE delivery Sat, Feb 14 on your first order