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
- Host: GitHub
- URL: https://github.com/suned/pfun-todo-backend
- Owner: suned
- License: mit
- Created: 2020-07-23T13:30:30.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-05T17:48:54.000Z (over 2 years ago)
- Last Synced: 2025-05-12T14:13:34.835Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.