Contatcs.app

Version, currently web-1.03 versions

github.com/setanta/contacts-htmx-app

A Crystal port of the HTMX Contacts demo application.

1 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  Contatcs.app:
    github: setanta/contacts-htmx-app
    version: ~> web-1.0

Then run:

shards install

shard.yml

Crystal
1.8.2
License
MIT
Author
Marcelo Lira
Target
  • contacts.app from src/app.cr

Dependencies

Runtime Dependencies

  • kemal*github: kemalcr/kemal
  • granite*github: amberframework/granite
  • micrate*github: juanedi/micrate
  • sqlite3*github: crystal-lang/crystal-sqlite3

README

This README is the one indexed from the repository at its latest ref, not from the tag for this version.

Contacts.app

A Crystal port of the demo Contacts application from the HTMX book. It uses Kemal for the webserver part, ECR templates for producing the HTML, and Granite (with SQLite) for the database part.

Set It Up

$ shards install
$ DATABASE_URL='sqlite3://./contacts.sqlite' ./bin/micrate up

Run It

$ crystal run src/app.cr