Python REST API Tutorial for Beginners | How to Build a Flask REST API

preview_player
Показать описание

In this Python REST API Tutorial for Beginners you will learn how to build a Flask REST API. A key skill for backend web development is learning how to build a REST API. I'll use Python with Flask to show you how.

⭐ Become a full-stack dev with Zero To Mastery Courses:

👇 Follow Me On Social Media:

Python REST API Tutorial for Beginners | How to Build a Flask REST API:

(00:00) Intro
(00:12) Welcome
(00:38) Tutorial Prerequisites
(00:53) What is REST? What is an API?
(03:07) REST API Diagram
(04:27) Virtual Environment set up
(07:19) Install Dependencies
(09:56) A Simple REST API
(12:38) Modeling Data & Creating the Database
(17:19) Flask Restful
(18:26) Define args with RequestParser
(19:51) /api/users Resource Endpoint
(21:54) Marshalling / Serializable JSON Data
(24:00) POST Data
(30:17) /api/users/id Resource Endpoint
(33:22) Update & Delete Data

📺 Video References:

📚 Tutorial References:

Was this Python REST API tutorial for beginners helpful? If so, please share. Let me know your thoughts in the comments.

#python #rest #api
Рекомендации по теме
Комментарии
Автор

Leave a comment to let me know what Python topics you want to see in the future 🙌 Thanks!

DaveGrayTeachesCode
Автор

🤣🤣 that was the funniest most accurate description of the rest api : they are sitting at rest doing nothing except calling them and serving some data from db.

xzex
Автор

Dave the Great Teacher. Thank you for your generosity with these videos on Python. Be Blessed. Salutations from France.

xyzxyz
Автор

Once upon a time Flask used to be called as a micro and minimalistic framework. But today I can see that it has a lot inside it.

dev-akeel
Автор

Thanks for the video, Mr. Dave. We appreciate it. It would be great if you could make a video covering the complete backend with REST API. It should include user authentication and authorization, email verification, password reset, OTP, welcome message, and user upgrade to, let's say, a super user, etc.

muazuidrisy.
Автор

yes please we need the next part awesome tutorial btw

snehasingh
Автор

Thank you for this! It was helpful. I would like to see a tutorial using a registration form with better data validation.

codebykeoma
Автор

every topic in related to backend is good(python). I recently worked with some express js api and it was amazingly simple and direct.

xzex
Автор

watching this before my automation dev exam

john
Автор

Great Series Dave Sir! Love from India ♥️🇮🇳

rajendrakole
Автор

Hi Dave, I find your teaching style great. Thanks you very much for the amazing content! I'd definitely love to see more video about web development in Python in general and using Flask in particular.

molleker
Автор

great tutorial, one thing I have noticed, the abort method's error message needs to be a dict not just a string

MrRys
Автор

Continue seems interesting, currently I testing cody, cursor & supermaven

crushfire
Автор

Thanks Dave. More data engineering with python courses will be good.

hassanmirza
Автор

Thanks for the hard work put into this🙏 just waiting for one in Django

nakayuni
Автор

I'm subscribed. Great video, easy to follow, great explanations. I like when you also show some "tips" for using VSC.

chrisw
Автор

thanks for making free tutorial videos

qtveciz
Автор

Hello Dave,
Thank you for your work !
You provide us with very interesting and valuable content, not only in Python, but also in Next, React, ...etc.

So in this way, if you miss some inspiration, you could adapt most of the projects you shared with in Next, React, PHP, ...etc... to Python using Django or Flask as frameworks.

Moreover, showing the parallel development of each code (like from Next to Python) could help understand the requirements and the logic migration for a given project.

For example a Next.js completed project's code could be the starting point, then, you built again the project in Python and explain the logic migration from one to another.

anyway, thank you again

danielouattara
Автор

Hi Dave, this content is helpful if you make a video on flask framework full-course quite helpful for everyone can learn and grow

😊

duquuou
Автор

Nice content dave❤ pls make video on python with FastAPI

anjaneyulub