Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sunhailin-leo/fastapi_apollo_middleware
It based on fastapi(https://github.com/tiangolo/fastapi) and Project Apollo(https://github.com/ctripcorp/apollo)
https://github.com/sunhailin-leo/fastapi_apollo_middleware
apollo fastapi middleware
Last synced: 3 months ago
JSON representation
It based on fastapi(https://github.com/tiangolo/fastapi) and Project Apollo(https://github.com/ctripcorp/apollo)
- Host: GitHub
- URL: https://github.com/sunhailin-leo/fastapi_apollo_middleware
- Owner: sunhailin-Leo
- License: mit
- Created: 2021-03-23T01:45:15.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-26T04:09:28.000Z (almost 4 years ago)
- Last Synced: 2024-11-11T21:56:57.283Z (3 months ago)
- Topics: apollo, fastapi, middleware
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
fastapi_apollo_middleware
A FastAPI Middleware of Apollo(Config Server By CtripCorp) to get server config in every request.
## π£ Info
A FastAPI Middleware of Apollo(Config Server By CtripCorp) to get server config in every request. Maybe is the best config server middleware of FastAPI extension.
## π° Installation
**Use pip**
```shell
$ pip install fastapi_apollo_middleware -U
```## π Example
Jump to example folder.[Example](https://github.com/sunhailin-Leo/fastapi_apollo_middleware/blob/main/example/fastapi_example.py)
## β Test the Code
### Integration Test
Use [Travis CI](https://travis-ci.org/) and [AppVeyor](https://ci.appveyor.com/) continuously integrated environmen.
### Code Style
Use [flake8](http://flake8.pycqa.org/en/latest/index.html) and [Codecov](https://codecov.io/) to improve the code quality.
## π‘ Author
* [@sunhailin-Leo](https://github.com/sunhailin-Leo)
## π License
MIT [Β©sunhailin-Leo](https://github.com/sunhailin-Leo)