From: Chris Fulljames Date: Sun, 31 May 2026 12:14:51 +0000 (-0400) Subject: Update README X-Git-Url: https://littlesong.place/gitweb/?a=commitdiff_plain;p=swapshop.git Update README --- 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.