Python API Development Fundamentals: Develop a full-stack web application with Python and Flask
Authors: Jack Chan – Ray Chung – Jack Huang
ISBN-10: 1838983996
ISBN-13: 9781838983994
Publication Date 出版日期: 2019-11-22
Print Length 页数: 372 pages
Book Description
By finelybook
Learn all that’s needed to build a fully functional web application from scratch
Python is a flexible language that can do much more than just script development. By knowing how the Python RESTful APIs work,you can easily develop a full stack web application using Python.
You’ll take your first steps by building a simple API and learning how the frontend web interface can communicate with the backend. You’ll create online forms using the Marshmallow library. These forms will take in data from users and then serialize and persist the data in the database using Flask-SQLAlchemy. Then,you’ll learn how to authenticate and authorize users using Flask-JWT. Apart from all this,you’ll also learn how to enhance your application by adding useful features,such as email,image upload,searching,and pagination. You’ll complete your learning by seeing how to deploy the system so it is available to the users.
By the end of this book,you’ll have the confidence and skill to leverage the power of RESTful APIs and Python to build efficient web applications.
What you will learn
Explore how the RESTful API project structure works
Build applications with PyCharm and Postman
Use SQLAlchemy to access a database.
Implement the user login-logout function using the Auth API
Add features,such as data format verification and database connection with Python modules and libraries
Use the Marshmallow package to perform a series of serialization work on the collected data
Contents
Preface
Chapter 1: Your First Step
Chapter 2: Starting to Build Our Project
Chapter 3: Manipulating a Database with SQLAIchemy
Chapter 4: Authentication Services and Security with JWT
Chapter 5: Object Serialization with marshmallow
Chapter 6: Email Confirmation
Chapter 7: Working with lmages
Chapter 8: Pagination,Searching,and Ordering
Chapter 9: Building More Features
Chapter 10: Deployment
Appendix
Index