Du er ikke logget ind
Beskrivelse
Develop RESTful web services using the Flask micro-framework and integrate them using MySQL. This book teaches you to use Flask to develop, deploy, and manage REST APIs because its Python code is easy to read and understand. You have the flexibility to choose many libraries to solve your problem. And you learn to use MySQL as the web services database for your Flask API using SQLAlchemy ORM.
Building REST APIs with Flask begins with a primer on Flask and RESTful services and working with pip to set up your virtual environment. The key differences between NoSQL and SQL are covered, and you will learn 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 to work with modules and create CRUD endpoints using Flask and MySQL. You will see how to set up authentication and render HTML using views. The book includes an introduction to unit testing and covers how to write unit tests for your REST APIs. You will become familiar with mocks, assertions, and integration testing. You also are taught how to document your REST APIs. You will know how to deploy your Flask application on all of the major cloud platforms. And you will know how to 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.