舉報

會員
Python API Development Fundamentals
最新章節:
10: Deployment
Pythonisaflexiblelanguagethatcanbeusedformuchmorethanjustscriptdevelopment.ByknowingthePythonRESTfulAPIswork,youcanbuildapowerfulbackendforwebapplicationsandmobileapplicationsusingPython.You'lltakeyourfirststepsbybuildingasimpleAPIandlearninghowthefrontendwebinterfacecancommunicatewiththebackend.You'llalsolearnhowtoserializeanddeserializeobjectsusingthemarshmallowlibrary.Then,you'lllearnhowtoauthenticateandauthorizeusersusingFlask-JWT.You'llalsolearnhowtoenhanceyourAPIsbyaddingusefulfeatures,suchasemail,imageupload,searching,andpagination.You'llwrapupthewholebookbydeployingyourAPIstothecloud.Bytheendofthisbook,you'llhavetheconfidenceandskilltoleveragethepowerofRESTfulAPIsandPythontobuildefficientwebapplications.
目錄(113章)
倒序
- 封面
- 版權頁
- Preface
- About
- About the Book
- 1. Your First Step
- Learning Objectives
- Introduction
- Understanding API
- RESTful API
- HTTP Protocol
- HTTP Methods and CRUD
- The JSON Format
- HTTP Status Codes
- Open API
- The Flask Web Framework
- Building a Simple Recipe Management Application
- Using curl or httpie to Test All the Endpoints
- Postman
- Summary
- 2. Starting to Build Our Project
- Learning Objectives
- Introduction
- What is Flask-RESTful?
- Virtual Environment
- Creating a Recipe Model
- Configuring Endpoints
- Making HTTP Requests to the Flask API using curl and httpie
- Summary
- 3. Manipulating a Database with SQLAlchemy
- Learning Objectives
- Introduction
- Databases
- SQL
- ORM
- Defining Our Models
- Password Hashing
- Summary
- 4. Authentication Services and Security with JWT
- Learning Objectives
- Introduction
- JWT
- Flask-JWT-Extended
- Designing the Methods in the Recipe Model
- Refresh Tokens
- The User Logout Mechanism
- Summary
- 5. Object Serialization with marshmallow
- Learning Objectives
- Introduction
- Serialization versus Deserialization
- marshmallow
- A Simple Schema
- UserSchema Design
- RecipeSchema Design
- The PATCH Method
- Summary
- 6. Email Confirmation
- Learning Objectives
- Introduction
- Mailgun
- User Account Activation Workflow
- HTML Format Email
- Summary
- 7. Working with Images
- Learning Objectives
- Introduction
- Building the User Avatar Function
- Flask-Uploads
- Image Resizing and Compression
- Introduction to Pillow
- Summary
- 8. Pagination Searching and Ordering
- Learning Objectives
- Introduction
- Pagination
- Paginated APIs
- Recipe Searching
- Sorting and Ordering
- Summary
- 9. Building More Features
- Learning Objectives
- Introduction
- Caching
- Flask-Caching
- API Rate Limiting
- Flask-Limiter
- Summary
- 10. Deployment
- Learning Objectives
- Introduction
- Deployment
- Comparing SaaS PaaS and IaaS
- The Heroku Platform
- Configuration Handling in Smilecook
- Heroku Application
- Heroku Add-Ons
- Setting Up Environment Variables for the Heroku App
- Setting Up Variables in Postman
- Setting up the Front-end Interface to Work with the Smilecook API
- Summary
- Appendix
- About
- 1: Your First Step
- 2: Starting to Build Our Project
- 3: Manipulating a Database with SQLAlchemy
- 4: Authenticated Services and Security with JWTs
- 5: Validating APIs Using marshmallow
- 6: Email Confirmations
- 7: Working with Images
- 8: Pagination Searching and Ordering
- 9: Building More Features
- 10: Deployment 更新時間:2021-06-11 12:56:47
推薦閱讀
- 解析QUIC/HTTP3:未來互聯網的基石
- 社交電商運營策略、技巧與實操
- 計算機網絡安全實訓教程(第二版)
- 無人機通信
- 中小型局域網組建、管理與維護實戰
- Learning Swift(Second Edition)
- 物聯網之霧:基于霧計算的智能硬件快速反應與安全控制
- 通信十年:擁抱互聯網
- 6G:面向2030年的移動通信
- 物聯網工程概論
- 高級網絡技術
- 移動互聯網新思維
- 5G智慧交通
- 網絡信息安全工程技術與應用分析
- 結網@改變世界的互聯網產品經理(修訂版)
- Hands-On Microservices:Monitoring and Testing
- 5G重塑數字化未來
- 深入理解Kubernetes網絡系統原理
- 計算機網絡(項目教學版)
- 物聯網工程應用技術
- 結構化決策力:成為你想成為的自己
- 網絡組建與運維
- 云存儲安全實踐
- 趣學CCNA:路由與交換(第2版)
- 校園網絡規劃與架設
- 物聯網工程開發與實踐
- 網絡安全技術:網絡空間健康發展的保障
- 基于區塊鏈的物聯網項目開發
- Learning Mongoid
- 中國互聯網絡發展狀況2013-2018(英文)