Microservice APIs you own this product

Using Python, Flask, FastAPI, OpenAPI and more
José Haro Peralta
  • December 2022
  • ISBN 9781617298417
  • 440 pages
  • printed in black & white
  • Available translations: Japanese, Russian

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside
Strategies, best practices, and patterns that will help you design resilient microservices architecture and streamline your API integrations.

In Microservice APIs, you’ll discover:

  • Service 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.

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. This book teaches you the patterns, protocols, and strategies you need to design, build, and deploy effective REST and GraphQL microservices APIs.

about the book

Microservice 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. You’ll 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 inside

  • Service decomposition strategies for microservices
  • Best practices for designing and building REST and GraphQL APIs
  • Service implementation patterns for loosely coupled components
  • API authorization with OAuth and OIDC
  • Deployments with AWS and Kubernetes

about the reader

For developers familiar with the basics of web development. Examples are in Python.

about the author

José Haro Peralta is a consultant, author, and instructor. He’s also the founder of microapis.io.

An insightful guide for creating REST and GraphQL APIs, with neat examples using FastAPI and Flask. The service implementation patterns chapter is a must-read for every developer.

William Jamir Silva, Adjust

A perfect introduction to microservice web APIs in Python.

Stuart Woodward, CEO, Hanamaru

A well-designed API makes all the difference in the success of your next project. This book equips you with the knowledge and the skills you need. Excellent!

Alain Lompo, ISO-Gruppe

Excellent coverage with practical examples.

Sambasiva Andaluri, IBM

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Microservice APIs ebook for free

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Microservice APIs ebook for free

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Microservice APIs ebook for free