Skip to content

ycc140/fastapi_messaging

Repository files navigation

fastapi_messaging

Elaborate Microservice async example with FastAPI, RabbitMQ, MongoDB and Redis.

Author: Anders Wiklund

This repository is the basis for a series of Medium articles.

Here's a brief outline of the article parts

This part talks about the problem space and a solution to handle asynchronous events between Microservices. It also covers the installation of required components.

This part talks about the OrderService architecture and design patterns that are used and the resulting directory structure of the implementation.

This part talks about RabbitMQ integration with FastAPI.

This part talks about the PaymentService architecture and design patterns that are used and the resulting directory structure of the implementation.

This part adds initial configuration handling using the Pydantic BaseSettings class. Project parameters in an .env file. External component connection URLs are using Pydantic secrets files. We also go through unified logging and OpenAPI documentation.

This part ties it all together. How to run it, simulators and all.

About

Elaborate Microservice async example with FastAPI, RabbitMQ, MongoDB and Redis.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages