From 71ca66bcba70f7a463df6ee9bdcb0e14b8e60595 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Mon, 27 Jul 2026 16:54:28 +0200 Subject: feat: minimal grocery list — add items, check them off MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Groceries DB schema (id, name, checked, created_at) with Drizzle + libsql - /+page.server.ts: load (unchecked items, newest first), add & toggle actions - /+page.svelte: text input + Add button, item list with toggle buttons - Mobile-first styling with scoped CSS classes - AGENTS.md: project-specific rules including UI validation --- drizzle/0000_known_scarecrow.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 drizzle/0000_known_scarecrow.sql (limited to 'drizzle/0000_known_scarecrow.sql') diff --git a/drizzle/0000_known_scarecrow.sql b/drizzle/0000_known_scarecrow.sql new file mode 100644 index 0000000..7d70133 --- /dev/null +++ b/drizzle/0000_known_scarecrow.sql @@ -0,0 +1,6 @@ +CREATE TABLE `groceries` ( + `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL, + `name` text NOT NULL, + `checked` integer DEFAULT false NOT NULL, + `created_at` text NOT NULL +); -- cgit v1.3