Overview
- Teaches you how to develop RESTful web services using Flask with MySQL
- Shows you how to connect MySQL and Flask using the SQLAlchemy API
- Includes automated API documentation
- Covers deployment on all of the major cloud platforms
Access this book
Tax calculation will be finalised at checkout
Other ways to access
About this book
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
Who This Book Is For
Python developers interested in REST API development using Flask and web developers with basic programming knowledge who want to learn how Python and REST APIs work together. Readers should be familiar with Python (command line, or at least pip) and MySQL.
Similar content being viewed by others
Keywords
Table of contents (7 chapters)
Authors and Affiliations
About the author
Bibliographic Information
Book Title: Building REST APIs with Flask
Book Subtitle: Create Python Web Services with MySQL
Authors: Kunal Relan
DOI: https://doi.org/10.1007/978-1-4842-5022-8
Publisher: Apress Berkeley, CA
eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)
Copyright Information: Kunal Relan 2019
Softcover ISBN: 978-1-4842-5021-1Published: 13 September 2019
eBook ISBN: 978-1-4842-5022-8Published: 12 September 2019
Edition Number: 1
Number of Pages: XV, 199
Number of Illustrations: 90 b/w illustrations
Topics: Python, Open Source, Programming Languages, Compilers, Interpreters