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

https://github.com/suned/pfun-todo-backend

Example of how to use https://pfun.dev to implement the Todo Backend
https://github.com/suned/pfun-todo-backend

Last synced: about 1 year ago
JSON representation

Example of how to use https://pfun.dev to implement the Todo Backend

Awesome Lists containing this project

README

          

# pfun-todo-backend
This is an example repository showcasing how to use [pfun](http://pfun.rtfd.io) with an [ASGI](https://asgi.readthedocs.io/en/latest/)
server by implementing the [Todo Backend](https://todobackend.com/). We're using [FastAPI](https://fastapi.tiangolo.com/) here,
but any ASGI server would do. [Postgres](https://www.postgresql.org/) is used for persistence through `pfun.sql`.

## Running
Requires [Docker](https://www.docker.com/):
```console
$ docker-compose up
```

Use the OpenAPI docs at the `/docs` endpoint for a description of the endpoints.