Building REST APIs with Flask

  • Relan K
N/ACitations
Citations of this article
98Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Includes index. Develop RESTful web services using the Flask micro-framework and integrate them using MySQL. Use Flask to develop, deploy, and manage REST APIs with easy-to-read and understand Python code. Solve your problem from a choice of libraries. Learn to use MySQL as the web services database for your Flask API using SQLAlchemy ORM. Building REST APIs with Flask provides a primer on Flask, RESTful services, and working with pip to set up your virtual environment. The key differences between NoSQL and SQL are covered, and you are taught how to connect MySQL and Flask using SQLAlchemy. Author Kunal Relan presents best practices for creating REST APIs and guides you in structuring your app and testing REST endpoints. He teaches you how to set up authentication and render HTML using views. You learn how to write unit tests for your REST APIs, and understand mocks, assertions, and integration testing. You will know how to document your REST APIs, deploy your Flask application on all of the major cloud platforms, and debug and monitor your Flask application. What You'll Learn: Use MySQL to create Flask REST APIs Test REST endpoints Create CRUD endpoints with Flask and MySQL Deploy Flask on all of the major cloud platforms Monitor your Flask application. Chapter 1: Beginning with Flask -- Chapter 2: Database Modeling in Flask -- Chapter 3: CRUD Application with Flask (Part 1) -- Chapter 4: CRUD Application with Flask (Part 2) -- Chapter 5: Testing in Flask -- Chapter 6: Deploying Flask Applications -- Chapter 7: Monitoring Flask Applications.

Cite

CITATION STYLE

APA

Relan, K. (2019). Building REST APIs with Flask. Building REST APIs with Flask. Apress. https://doi.org/10.1007/978-1-4842-5022-8

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free