https://github.com/dori-dev/fastapi-microservice
The simple microservice project that use FastAPI and RabbitMQ.
https://github.com/dori-dev/fastapi-microservice
Last synced: 7 days ago
JSON representation
The simple microservice project that use FastAPI and RabbitMQ.
- Host: GitHub
- URL: https://github.com/dori-dev/fastapi-microservice
- Owner: dori-dev
- Created: 2023-07-21T17:59:10.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-22T06:12:59.000Z (almost 3 years ago)
- Last Synced: 2025-03-30T13:37:15.518Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Microservice
The simple microservice project that use `FastAPI` and `RabbitMQ`.
# Usage
Run RabbitMQ server.
```bash
docker-compose up -d
```
Run the rpc servers.
```bash
python rpc/server.py
```
```bash
python rpc/notification_server.py
```
Run the application
```bash
uvicorn app:main --reload
```
Home Page: [localhost:8000/fib/10](http://localhost:8000/fib/10/)