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

Published: 18 June 2024
on channel: Dave Gray
18,099
717

Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap

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.

💖 Support me on Patreon ➜   / davegray  

⭐ Become a full-stack dev with Zero To Mastery Courses:
- The Complete Python Developer: https://bit.ly/CompPythonDev
- Complete Machine Learning & Data Science: https://bit.ly/CompMachineLearning
- Junior to Senior Dev Roadmap: https://bit.ly/WebDevRoadmap-JrtoSr

🚩 Subscribe ➜ https://bit.ly/3nGHmNn

📬 Course Updates ➜ https://courses.davegray.codes/

🚀 Discord ➜   / discord  

☕ Buy Me A Coffee ➜ https://www.buymeacoffee.com/davegray

👇 Follow Me On Social Media:
GitHub: https://github.com/gitdagray
Twitter:   / yesdavidgray  
LinkedIn:   / davidagray  

🔗 Source Code: https://github.com/gitdagray/python-f...

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:
🔗 Python Full Course for Beginners:    • Python Full Course for Beginners | Co...  

📚 Tutorial References:
🔗 MDN REST: https://developer.mozilla.org/en-US/d...
🔗 MDN API: https://developer.mozilla.org/en-US/d...
🔗 Visual Studio Code: https://code.visualstudio.com/
🔗 Python: https://www.python.org/
🔗 git & git bash: https://www.git-scm.com/downloads
🔗 Flask: https://flask.palletsprojects.com/en/...
🔗 Flask Restful: https://flask-restful.readthedocs.io/...
🔗 Flask SQLAlchemy: https://flask-sqlalchemy.palletsproje...

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

#python #rest #api


Watch video Python REST API Tutorial for Beginners | How to Build a Flask REST API online without registration, duration hours minute second in high quality. This video was added by user Dave Gray 18 June 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 18,09 once and liked it 71 people.