]> littlesong.place Git - swapshop.git/commitdiff
Update README master
authorChris Fulljames <christian.fulljames@gmail.com>
Sun, 31 May 2026 12:14:51 +0000 (08:14 -0400)
committerChris Fulljames <christian.fulljames@gmail.com>
Sun, 31 May 2026 12:14:51 +0000 (08:14 -0400)
README.md

index a789e599c10d40c6fc498b7e9c01aaaa365f7263..c121da576d9ecd083267db7607e6dd5f628b6b0d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,5 +1,13 @@
 # The Swap Shop
 
 # 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.