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

Dave Gray
Dave Gray
5.7 هزار بار بازدید - 3 هفته پیش - Web Dev Roadmap for Beginners
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 ➜ 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: discord

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

👇 Follow Me On Social Media:
GitHub: https://github.com/gitdagray
Twitter: Twitter: yesdavidgray
LinkedIn: 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
3 هفته پیش در تاریخ 1403/03/29 منتشر شده است.
5,717 بـار بازدید شده
... بیشتر