Sinatra todoapp. This application is a personal use todo app that uses prisma-generated tables from Ruby.
CREATE TABLE IF NOT EXISTS "Task" (
id integer NOT NULL,
text text,
completed boolean,
primary key (id)
);
CREATE SEQUENCE IF NOT EXISTS Task_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE Task_id_seq OWNED BY "Task".id;
$ bundle exec ruby main.rb
Or run on your docker
$ docker run -it --rm
MIT
Yasuhiro Matsumoto (a.k.a. mattn)