From 07d1807175867a7c2efa558f7f0033c8bf3e31af Mon Sep 17 00:00:00 2001 From: Chris Fulljames Date: Sun, 31 May 2026 08:14:51 -0400 Subject: [PATCH] Update README --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a789e59..c121da5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,13 @@ # The Swap Shop -This is a (very) simple PHP app for collecting a list of names in a random -order. All of the magic happens in index.php. +This is a little PHP app for collecting a list of names in a random order. All +of the magic happens in index.php. + +It uses a sqlite database with two tables: one for "events" (called "swap +lists" on the site), and one for "peeps" (the individual names in the lists). +Each entry in the 'peeps' table has a name (shown on the page), and a random +number generated when joining that's used to sort the list. + +And that's pretty much it! Creating a new swap list adds a new row to the +events table, and joining a list adds a row to peeps. -- 2.39.5