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

https://github.com/anthonycorletti/modal-async-pubsub-example

A proof-of-concept, pubsub-esque service that runs on Modal.
https://github.com/anthonycorletti/modal-async-pubsub-example

fastapi modal pubsub python

Last synced: about 1 month ago
JSON representation

A proof-of-concept, pubsub-esque service that runs on Modal.

Awesome Lists containing this project

README

          

# modal-async-pubsub-example

A proof-of-concept, pubsub-esque service that runs on [Modal](https://modal.com).

To get started, first clone this repo

```bash
git clone https://github.com/anthonycorletti/modal-async-pubsub-example.git
```

Then, follow the [contributing guide](./CONTRIBUTING.md) to install the app.

Once the app is installed, you can run it locally with

```sh
./scripts/run-uvicorn.sh
```

When you're ready to deploy to modal you can run

```sh
./scripts/modal-deploy.sh
```