Flask REST API With SQLAlchemy & Marshmallow

preview_player
Показать описание
You can support me in Patreon

Join Free Programming Courses:

My Affiliate Books:
Full Stack Web Development with Flask

In this Flask REST API video i want to show you how to build Flask REST API With SQLAlchemy & Marshmallow.

What is Flask-SQLAlchemy ?

Flask-SQLAlchemy is an extension for Flask that adds support for SQLAlchemy to your application. It aims to simplify using SQLAlchemy with Flask by providing useful defaults and extra helpers that make it easier to accomplish common tasks.

See the SQLAlchemy documentation to learn how to work with the ORM in depth. The following documentation is a brief overview of the most common tasks, as well as the features specific to Flask-SQLAlchemy.

What is Flask-Marshmallow ?

Flask-Marshmallow is a thin integration layer for Flask (a Python web framework) and marshmallow (an object serialization/deserialization library) that adds additional features to marshmallow, including URL and Hyperlinks fields for HATEOAS-ready APIs. It also (optionally) integrates with Flask-SQLAlchemy.

Get the source code:

#Flask#SQLAlchemy#ParwizForogh
Рекомендации по теме
Комментарии
Автор

Excellent English skills, thanks so much for the tutorial, very interesting!

spwim
Автор

This was really awesome lots of learning

xploricious
Автор

great work, thanks!. Can you show us how make relational uses with this method? regards!

jorgevega
Автор

can it be made more modular, for example, we have many models and schemes in the application?

ferilukmansyah
Автор

How to add field if it has relationship with another table?

bartekz
Автор

Hello, how can you separate this logic into different directories, for a better architecture using marshmallow and no die trying 😅

calceta