Uploaded June 2024 | Updated November 2026, 3 hours ago
Web Dev Roadmap for Beginners (Free!): 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 β patreon.com/davegray
β Become a full-stack dev with Zero To Mastery Courses:
- The Complete Python Developer: bit.ly/CompPythonDev
- Complete Machine Learning & Data Science: bit.ly/CompMachineLearning
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
π Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Follow Me On Social Media:
GitHub: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
π Source Code: github.com/gitdagray/python-flask-rest-api
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: youtu.be/H2EJuAcrZYU
π Tutorial References:
π MDN REST: developer.mozilla.org/en-US/docs/Glossary/REST
π MDN API: developer.mozilla.org/en-US/docs/Glossary/API
π Visual Studio Code: code.visualstudio.com
π Python: python.org
π git & git bash: git-scm.com/downloads
π Flask: flask.palletsprojects.com/en/3.0.x
π Flask Restful: flask-restful.readthedocs.io/en/latest
π Flask SQLAlchemy: flask-sqlalchemy.palletsprojects.com/en/3.1.x
Was this Python REST API tutorial for beginners helpful? If so, please share. Let me know your thoughts in the comments.
#python #rest #api
Web Dev Roadmap for Beginners (Free!): 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 β patreon.com/davegray
β Become a full-stack dev with Zero To Mastery Courses:
- The Complete Python Developer: bit.ly/CompPythonDev
- Complete Machine Learning & Data Science: bit.ly/CompMachineLearning
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
π Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Follow Me On Social Media:
GitHub: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
π Source Code: github.com/gitdagray/python-flask-rest-api
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: youtu.be/H2EJuAcrZYU
π Tutorial References:
π MDN REST: developer.mozilla.org/en-US/docs/Glossary/REST
π MDN API: developer.mozilla.org/en-US/docs/Glossary/API
π Visual Studio Code: code.visualstudio.com
π Python: python.org
π git & git bash: git-scm.com/downloads
π Flask: flask.palletsprojects.com/en/3.0.x
π Flask Restful: flask-restful.readthedocs.io/en/latest
π Flask SQLAlchemy: flask-sqlalchemy.palletsprojects.com/en/3.1.x
Was this Python REST API tutorial for beginners helpful? If so, please share. Let me know your thoughts in the comments.
#python #rest #api

