cover

Building REST APIs with Flask

Create Python Web Services with MySQL

Authors: Relan, Kunal

  • 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
see more benefits

Buy this book

eBook 22,99 €
price for China (P.R.) (gross)
  • The eBook version of this title will be available soon
  • Due: 2019年11月10日
  • ISBN 978-1-4842-5022-8
  • Digitally watermarked, DRM-free
  • Included format:
  • ebooks can be used on all reading devices
Softcover 27,99 €
price for China (P.R.) (gross)
  • Due: 2019年10月13日
  • ISBN 978-1-4842-5021-1
  • Free shipping for individuals worldwide
About this book

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

 

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.


About the authors

Kunal Relan is an iOS security researcher and a full-stack developer with more than four years of experience in various fields of technology including network security, DevOps, cloud infrastructure, and application development working as a consultant with startups around the globe. He is an Alibaba Cloud MVP, and author of iOS Penetration Testing (Apress) and a variety of white papers. Kunal is a technology enthusiast and an active speaker. He regularly contributes to open source communities and writes articles for Digital Ocean and Alibaba Techshare.

Buy this book

eBook 22,99 €
price for China (P.R.) (gross)
  • The eBook version of this title will be available soon
  • Due: 2019年11月10日
  • ISBN 978-1-4842-5022-8
  • Digitally watermarked, DRM-free
  • Included format:
  • ebooks can be used on all reading devices
Softcover 27,99 €
price for China (P.R.) (gross)
  • Due: 2019年10月13日
  • ISBN 978-1-4842-5021-1
  • Free shipping for individuals worldwide

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Building REST APIs with Flask
Book Subtitle
Create Python Web Services with MySQL
Authors
Copyright
2019
Publisher
Apress
Copyright Holder
Kunal Relan
eBook ISBN
978-1-4842-5022-8
DOI
10.1007/978-1-4842-5022-8
Softcover ISBN
978-1-4842-5021-1
Edition Number
1
Number of Pages
X, 187
Number of Illustrations
2 b/w illustrations, 88 illustrations in colour
Topics