Building REST APIs with Flask

Building REST APIs with Flask

January 31, 2021 0 By Allitebook

Building REST APIs with Flask


  • Author: Kunal Relan
  • ISBN: 1484250214
  • Year: 2019
  • Pages: 199
  • Language: English
  • File size: 4.5 MB
  • File format: PDF, ePub
  • Category: MySQL

Book Description:

Develop RESTful web services employing 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 by a choice of libraries. Learn how to use MySQL since the services database to your Flask API utilizing SQLAlchemy ORM.

Assembling REST APIs with Flask provides a primer on Flask, RESTful providers, and working with pip to set up your virtual environment. The crucial 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 producing REST APIs and guides you in simplifying your app and analyzing REST endpoints. He teaches you how you can set up authentication and render HTML using views. You learn how to write unit tests for your REST APIs, and comprehend mocks, assertions, and integration testing. You will understand how to document your REST APIs, deploy your Flask application on each of the major cloud programs, and debug and track your own Flask application.

What You Will Learn

  • Utilize MySQL to make Flask REST APIs
  • Evaluation REST endpoints
  • Produce CRUD endpoints using Flask and MySQL
  • Deploy Flask on all of the major cloud platforms
  • Monitor your Flask program

Python developers interested in REST API development with Flask and web developers with basic programming knowledge who wish to learn just how Python and REST APIs operate together. Readers should be knowledgeable about Python (command line, or at least pip) and MySQL.

 

Download PDF    Buy Hardcopy