Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lukewilliamboswell/roc-htmx-playground

roc + htmx playground
https://github.com/lukewilliamboswell/roc-htmx-playground

htmx roc-lang

Last synced: about 2 months ago
JSON representation

roc + htmx playground

Awesome Lists containing this project

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 fun

Any PR's or ideas welcome.

You are welcome to play with this and if you have something to share then please do.

![demo](demo.gif)

## 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