Add FastAPI todobackend.com app example. - #94
Merged
Conversation
dom96
force-pushed
the
dominik/fastapi-todo-app
branch
2 times, most recently
from
August 21, 2026 16:16
4c0619a to
53499c4
Compare
ryanking13
approved these changes
Aug 24, 2026
| @@ -0,0 +1,37 @@ | |||
| # FastAPI Todo Backend | |||
|
|
|||
| A Python FastAPI implementation of the [Todo-Backend](https://todobackend.com) spec, running on Cloudflare Workers with D1 for storage. | |||
Contributor
There was a problem hiding this comment.
Interesting. Does this website have enough credibility / awareness that we can rely on? If so, do you think we should update all our examples to use the same backend to provide consistent examples?
Contributor
Author
There was a problem hiding this comment.
It seems to be someone's hobby project, but it has been around for a while, so yeah, I think we can rely on it.
I did suggest doing this in #89 (review). I think it would be nice to make these examples as simple as possible and make them easily comparable by them consistently implementing the todo-backend spec.
dom96
force-pushed
the
dominik/fastapi-todo-app
branch
from
August 24, 2026 10:30
53499c4 to
a0647dd
Compare
dom96
force-pushed
the
dominik/fastapi-todo-app
branch
from
August 24, 2026 10:35
a0647dd to
74af689
Compare
for more information, see https://pre-commit.ci
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements a todobackend.com-compatible FastAPI todo application. This has the advantage that the example can focus on the backend.
The usage relies on
https://todobackend.com/client/index.html?http://localhost:8787/todoswhich works pretty well:Test Plan
Great thing about todobackend.com is that it has a built-in test suite:
This PR also adds tests into test_examples.py.