Building REST APIs with Flask

Create Python Web Services with MySQL

Paperback Engels 2019 9781484250211
Verwachte levertijd ongeveer 9 werkdagen

Samenvatting

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 LearnUse 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.

Specificaties

ISBN13:9781484250211
Taal:Engels
Bindwijze:paperback
Uitgever:Apress

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

Chapter 1:&nbsp; Beginning with Flask.-&nbsp;Chapter 2:&nbsp; Database Modeling in Flask.-&nbsp;Chapter 3: CRUD Application with Flask (Part 1).-&nbsp;Chapter 4: CRUD Application with Flask (Part 2).-&nbsp;Chapter 5: Testing in Flask.-&nbsp;Chapter 6: Deploying Flask Applications.-&nbsp;Chapter 7: Monitoring Flask Applications.<div><br></div>

Managementboek Top 100

Rubrieken

    Personen

      Trefwoorden

        Building REST APIs with Flask