An open API service indexing awesome lists of open source software.

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.

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/)