Skip to Content
Building REST APIs with Flask: Create Python Web Services with MySQL
book

Building REST APIs with Flask: Create Python Web Services with MySQL

by Kunal Relan
September 2019
Intermediate to advanced
209 pages
3h 20m
English
Apress
Content preview from Building REST APIs with Flask: Create Python Web Services with MySQL
© Kunal Relan 2019
K. RelanBuilding REST APIs with Flaskhttps://doi.org/10.1007/978-1-4842-5022-8_2

2. Database Modeling in Flask

Kunal Relan1 
(1)
New Delhi, Delhi, India
 

This chapter covers one of the most important aspects of REST application development, that is, connecting and interacting with database systems. In this chapter, we’ll discuss about NoSQL and SQL databases, connecting and interacting with them.

In this chapter we’ll cover the following topics:
  1. 1.

    NoSQL vs. SQL databases

     
  2. 2.

    Connecting with Flask-SQLAlchemy

     
  3. 3.

    Interacting with MySQL DB using Flask-SQLAlchemy

     
  4. 4.

    Connecting with Flask-MongoEngine

     
  5. 5.

    Interacting with MongoDB using Flask-MongoEngine

     

Introduction

Flask being a microframework provides flexibility of the data source for applications ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Advanced REST APIs with Flask and Python

Advanced REST APIs with Flask and Python

Jose Salvatierra Fuentes

Publisher Resources

ISBN: 9781484250228Purchase LinkPublisher Website