https://github.com/laytan/todomvc-odin-htmx
An implementation of Todo MVC using my in development Odin web stack.
https://github.com/laytan/todomvc-odin-htmx
htmx odin odin-http todomvc
Last synced: about 1 month ago
JSON representation
An implementation of Todo MVC using my in development Odin web stack.
- Host: GitHub
- URL: https://github.com/laytan/todomvc-odin-htmx
- Owner: laytan
- Created: 2023-09-09T22:00:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-06T21:04:55.000Z (over 1 year ago)
- Last Synced: 2025-04-04T16:50:06.272Z (about 1 month ago)
- Topics: htmx, odin, odin-http, todomvc
- Language: Odin
- Homepage: https://todomvc-odin-htmx.laytan.dev/
- Size: 76.2 KB
- Stars: 14
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-odin - HTMX Example TODO List App
- awesome-odin - HTMX Example TODO List App
README
# Todo MVC using Odin and HTMX
An implementation of [Todo MVC](https://todomvc.com/) using my in development [Odin](https://odin-lang.org/) web stack and [HTMX](https://htmx.org).
Using my own packages:
- [Odin-HTTP](https://github.com/laytan/odin-http)
- [Temple (templating engine)](https://github.com/laytan/temple)
- [Obacktracing (printing stacktraces on segfaults or panics)](https://github.com/laytan/obacktracing)This is mainly here to dogfood the libraries and provide an example.
The docker container does not work on the arm architecture currently because of [a bug](https://github.com/odin-lang/Odin/issues/2793) in Odin.
## Compiling
First compile the templating engine: `odin build vendor/temple/cli -out:./temple`.
Then compile the templates: `./temple . vendor/temple`
Then the project: `odin build .`
## Deployment
The project is deployed on [Render](https://render.com) using the Dockerfile in this repo,
with a [Cloudflare](https://cloudflare.com) proxy in front.