Microservice APIs
Using Python, Flask, FastAPI, OpenAPI and more

EPUB · English
Price and availability
EPUB eBookUS store
$67.99
Sign in to buyYou’ll review your order and final price before payment.
Download from your library after delivery. Protected eBooks need a compatible reading app.
For personal use under the eBook licence.
Territorial availability
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.
- Format
- EPUB
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- Manning
- Published
- 7 March 2023
- ISBN
- 9781638350569
- Subjects
- Computing & information technology, Computer programming / software development, Software Engineering, Computer networking & communications, Cloud computing, Computing and Information Technology, Computer programming / software engineering, Software Engineering, Computer networking and communications, Cloud computing
About this book
Strategies, best practices, and patterns that will help you design resilient microservices architecture and streamline your API integrations.In Microservice APIs, youll discover:Service decomposition strategies for microservicesDocumentation-driven development for APIsBest practices for designing REST and GraphQL APIsDocumenting REST APIs with the OpenAPI specification (formerly Swagger)Documenting GraphQL APIs using the Schema Definition LanguageBuilding microservices APIs with Flask, FastAPI, Ariadne, and other frameworksService implementation patterns for loosely coupled servicesProperty-based testing to validate your APIs, and using automated API testing frameworks like schemathesis and DreddAdding authentication and authorization to your microservice APIs using OAuth and OpenID Connect (OIDC)Deploying and operating microservices in AWS with Docker and KubernetesMicroservice APIs teaches you practical techniques for designing robust microservices with APIs that are easy to understand, consume, and maintain. Youll benefit from author Jos Haro Peraltas years of experience experimenting with microservices architecture, dodging pitfalls and learning from mistakes hes made. Inside youll find strategies for delivering successful API integrations, implementing services with clear boundaries, managing cloud deployments, and handling microservices security. Written in a framework-agnostic manner, its universal principles can easily be applied to your favorite stack and toolset.About the technologyClean, clear APIs are essential to the success of microservice applications. Well-designed APIs enable reliable integrations between services and help simplify maintenance, scaling, and redesigns. Th is book teaches you the patterns, protocols, and strategies you need to design, build, and deploy effective REST and GraphQL microservices APIs.About the bookMicroservice APIs gathers proven techniques for creating and building easy-to-consume APIs for microservices applications. Rich with proven advice and Python-based examples, this practical book focuses on implementation over philosophy. Youll learn how to build robust microservice APIs, test and protect them, and deploy them to the cloud following principles and patterns that work in any language.What's insideService decomposition strategies for microservicesBest practices for designing and building REST and GraphQL APIsService implementation patterns for loosely coupled componentsAPI authorization with OAuth and OIDCDeployments with AWS and KubernetesAbout the readerFor developers familiar with the basics of web development. Examples are in Python.About the authorJos Haro Peralta is a consultant, author, and instructor. Hes also the founder of microapis.io.Table of ContentsPART 1 INTRODUCING MICROSERVICE APIS1 What are microservice APIs?2 A basic API implementation3 Designing microservicesPART 2 DESIGNING AND BUILDING REST APIS4 Principles of REST API design5 Documenting REST APIs with OpenAPI6 Building REST APIs with Python7 Service implementation patterns for microservicesPART 3 DESIGNING AND BUILDING GRAPHQL APIS8 Designing GraphQL APIs9 Consuming GraphQL APIs10 Building GraphQL APIs with PythonPART 4 SECURING, TESTING, AND DEPLOYING MICROSERVICE APIS11 API authorization and authentication12 Testing and validating APIs13 Dockerizing microservice APIs14 Deploying microservice APIs with Kubernetes
Bibliographic data © Gardners Books Ltd.