Skip to content

Add flask hello world and todo app - #89

Open
hoodmane wants to merge 4 commits into
cloudflare:mainfrom
hoodmane:flask-examples
Open

Add flask hello world and todo app#89
hoodmane wants to merge 4 commits into
cloudflare:mainfrom
hoodmane:flask-examples

Conversation

@hoodmane

@hoodmane hoodmane commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Adds two flask examples: A hello world example and a todo-notes app.

Comment thread 18-flask/src/worker.py
Comment thread 20-flask/src/worker.py Outdated
Comment thread 20-flask/package.json Outdated
Comment thread 20-flask/pyproject.toml Outdated
Comment thread 20-flask/pyproject.toml Outdated
Comment thread 20-flask/pyproject.toml Outdated
Comment thread 20-flask/wrangler.jsonc Outdated
Comment thread 18-flask-todo-app/src/d1.py Outdated
Comment thread 18-flask-todo-app/src/d1.py Outdated

@dom96 dom96 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of creating a custom TODO backend API, perhaps we should follow https://www.todobackend.com/ ?

We could also then use https://github.com/TodoBackend/todo-backend-client for the frontend and keep all our examples consistent.

Comment thread 18-flask-todo-app/src/d1.py Outdated
Comment thread 18-flask-todo-app/src/d1.py Outdated
@hoodmane

hoodmane commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

Instead of creating a custom TODO backend API, perhaps we should follow https://www.todobackend.com/ ?

It seems more complicated than we need?

@ryanking13 ryanking13 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add unittests so we don't break things by accident? Otherwise looks good to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants