/qattus

Primary LanguageJavaScript

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

Ruby version

3.2.2

System dependencies

Elm

Configuration

In the manifest file we specify location of our Elm file compiled to JS

//= link plugins/home.js

And the JS file is here

It is invoked from here

= javascript_include_tag 'plugins/home', "data-turbo-eval": "false"
please note the way to suppress multiple loading
document.addEventListener('turbo:load', loadElm)

we also need to fix delete confirmation for turbo https://github.com/bigos/qattus/blob/f081d6630da2164d98c9b09f3c235e44b2681a67/app/views/texts/index.html.haml#LL21C19-L21C19

Database creation

Trivial Sqlite3

Database initialization

Trivial Sqlite3

hosting

https://www.digitalocean.com/pricing/droplets#basic-droplets

How to run the test suite

No tests yet

GET http://localhost:3000/texts.json
GET http://localhost:3000/texts/3.json