Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Jose Haro Peralta

Rating No ratings yet

Strategies, best practices, and patterns that will help you design resilient microservices architecture and streamline your API integrations. In Microservice APIs, you’ll discover: SeService decomposition strategies for microservices Documentation-driven development for APIs Best practices for designing REST and GraphQL APIs Documenting REST APIs with the OpenAPI specification (formerly Swagger) Documenting GraphQL APIs using the Schema Definition Language Building microservices APIs with Flask, FastAPI, Ariadne, and other frameworks Service implementation patterns for loosely coupled services Property-based testing to validate your APIs, and using automated API testing frameworks like schemathesis and Dredd Adding authentication and authorization to your microservice APIs using OAuth and OpenID Connect (OIDC) Deploying and operating microservices in AWS with Docker and Kubernetes Microservice APIs teaches you practical techniques for designing robust microservices with APIs that are easy to understand, consume, and maintain. You’ll benefit from author José Haro Peralta’s years of experience experimenting with microservices architecture, dodging pitfalls and learning from mistakes he’s made. Inside you’ll 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. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology Clean, 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 t

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

Brief outline
【One-Line Pitch】 Strategies, best practices, and patterns that will help you design resilient microservices architecture and streamlin… 【Book Arc】 - **Opening (~0%–12%)**: Written in a framework-agnostic manner, its universal principles can easily be applied to your favorite stack and toolset.; 29 ABOUT THIS BOOK xxiHow this book is organized: A roadmap The book is divided into four sections with a total of 14 chapters. - **Early (~12%–35%)**: 18 CHAPTER 1 What are microservice APIs?; alk to each other using smart endpoints and “dumb pipes.” A dumb pipe is a pipe that simply transfers data from one component to another. - **Middle (~35%–65%)**: building REST APIs that are easy to maintain and to consume.; ssful responses, but what about error responses? - **Late (~65%–88%)**: of Flask and marshmallow. Flask is a popular framework for building web applications, while marsh…; d allow ourselves to focus on the API layer of the service. - **Ending (~88%–100%)**: nes the operations that must be undertaken upon exiting the context, for example, closing a file or a session.; a complex list of requirements, so let’s break it down into specific technical requirements. 【Key Takeaways】 - **Written in a framework** (Opening): Written in a framework-agnostic manner, its universal principles can easily be applied to your favorite stack and toolset. - **29 ABOUT THIS BOOK xxi…** (Opening): 29 ABOUT THIS BOOK xxiHow this book is organized: A roadmap The book is divided into four sections with a total of 14 chapters. - **Chapter 7 explains fun…** (Opening): Chapter 7 explains fundamental principles and patterns for building microser- vices. - **18 CHAPTER 1 What are…** (Early): 18 CHAPTER 1 What are microservice APIs? - **alk to each other usin…** (Early): alk to each other using smart endpoints and “dumb pipes.” A dumb pipe is a pipe that simply transfers data from one component to another. - **that can only take on…** (Early): that can only take on a limited selection of values, we define an enumeration class. 【Reading Tips】 - Use Passage locations below to jump into the text and set reading anchors - If this is a brief outline, click Regenerate (top right) for a synthesized guide 【Coverage Limits】 Compressed outline without the model (~33 index chunks). Full structured guide needs AI available.
Excerpt 1
vices and help simplify maintenance, scaling, and redesigns. Th is book teaches you the patterns, protocols, and strategies you need to design, build, and de...
View in text
Excerpt 2
alk to each other using smart endpoints and “dumb pipes.” A dumb pipe is a pipe that simply transfers data from one component to another. A great example of...
View in text
Excerpt 3
ll to the historical data service to obtain historical data. In this case, the sales forecast service can’t serve any request without calling the historical...
View in text
Excerpt 4
ike the order ID and the status. the order to the client. { "id": "96247264-7d42-4a95-b073-44cedf5fc07d", "created": "2025-02-02", "status": "created", "orde...
View in text
Excerpt 5
: credentials flow scheme clientCredentials: tokenUrl: https://coffeemesh-dev.eu.auth0.com/oauth/token thorization scopes: {} ws available bearerAuth: The av...
View in text
Excerpt 6
ying the con- cept of hexagonal architecture to our design. In 2005, Alistair Cockburn introduced the concept of hexagonal architecture, also called the arch...
View in text
Excerpt 7
ef status(self): return self._status or self._order.status In addition to holding data about an order, the Order class also needs to handle tasks such as can...
View in text
Excerpt 8
e Ingredient type, and vice versa. For a good discussion of graph theory in the context of GraphQL, see Eve Porcello and Alex Banks, Learning GraphQL, Declar...
View in text
Tags
AI categories
Framework
ISBN: 1617298417
Publish Year: 2023
Language: English
Pages: 438
File Format: PDF
File Size: 7.4 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…