Carol Kim
carol@example.com
DX nerd. File storage, thumbnails, and owner-only writes
1 following · 1 followers
drizzle-kit push runs on boot in development so the example works after git clone. Production: run db:push explicitly.
Opt-in searchableColumns in access rules. GET /api/posts?q=drizzle runs parameterized LIKE across title and body — try the search box!
Storage access mirrors table access: authenticated upload, public read, owner delete. Metadata tracked in SQLite.
POST /api/files uploads with mime/size rules. GET serves originals; ?w=&h=&format=webp returns on-the-fly thumbnails via sharp.