https://github.com/lukewilliamboswell/roc-htmx-playground
roc + htmx playground
https://github.com/lukewilliamboswell/roc-htmx-playground
htmx roc-lang
Last synced: about 1 month ago
JSON representation
roc + htmx playground
- Host: GitHub
- URL: https://github.com/lukewilliamboswell/roc-htmx-playground
- Owner: lukewilliamboswell
- License: upl-1.0
- Created: 2023-12-06T06:30:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-29T02:03:15.000Z (6 months ago)
- Last Synced: 2025-04-09T23:51:41.204Z (about 1 month ago)
- Topics: htmx, roc-lang
- Language: Roc
- Homepage:
- Size: 2.24 MB
- Stars: 28
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- roc-awesome - lukewilliamboswell/roc-htmx-playground
README
# roc + htmx playground
- Explore [roc](https://www.roc-lang.org) and [htmx](https://htmx.org) for app development
- Add new features to [roc-lang/basic-webserver](https://github.com/roc-lang/basic-webserver)
- Generally tinker and have funAny PR's or ideas welcome.
You are welcome to play with this and if you have something to share then please do.

## Getting Started
Ensure `sqlite3` and `roc` are on your `PATH`
**create test.db** `rm -rf test.db && sqlite3 test.db < test.sql`
**start server** `DB_PATH=test.db roc dev src/main.roc`
## Getting with Kingfisher
As an alternative to the basic-webserver, this playgroud can also be run with the [kingfisher platform](https://github.com/ostcar/kingfisher).
**start server** roc run src/kingfisher.roc -- --no-snapshot