I need to build a microservice layer which supposed to accept payment from different projects, processes this requests with simple logic (e.g data modification and saving to MongoDB) and proxies(transfers) API calls to final destination API endpoints (Bank APIs).
So far I’ve decided to use FastAPI
and aiohttp
.
FastAPI: to interact with Projects, process and validate data.
aiohttp: to arrange communication between backend (FastApi) and Bank API.
But there is question regarding redundancy of FastAPI (or any API building framework).
Do it really good practice of using it in this case or just HTTP client is more than enough for this job?