Examples
The smoldb repository contains three Next.js applications that use smoldb as their only backend. Clone the repository and run each demo locally as a standard Next.js app.
git clone https://github.com/DeerEdge/smoldb.git
cd smoldb/demos/<app>
npm install
npm run devEach demo reads three values from .env.local:
SMOLDB_URL=https://smoldb.com
SMOLDB_API_KEY=smol_...
SMOLDB_PROJECT_ID=<projectId>
Generate the API key from the Connect tab of a project in the dashboard.
todo
A todo list. Runs on port 6001. Exercises table creation, row insert, update, delete, and list.
Source: demos/todo
notes
A notes application with tag filtering. Runs on port 6002. Exercises addColumn for schema changes and the /query endpoint for filtering.
Source: demos/notes
files
A file uploader. Runs on port 6003. Exercises multipart upload, listing, inline download, deletion, and the storage-quota error path.
Source: demos/files