Public
Collaborative anonymous shopping list
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
A mobile-first, collaborative shopping list for friends and family. No accounts, no sign-in — anyone with the link sees and edits the same list.
- Mobile-first UI, optimized for phones (large touch targets, safe-area support)
- Fast sync — polls every 2 seconds, plus an instant refresh after your own edits
- Anonymous — shared purely by URL, no accounts or personal data
- Persistent — items live in project-scoped SQLite
All endpoints on main.ts under /api, returning the full item list as JSON.
| Method | Path | Body | Effect |
|---|---|---|---|
| GET | /api | – | List items |
| POST | /api | {"name": "Milk"} | Add an item |
| PATCH | /api | {"id": 1, "done": true} | Check/uncheck |
| DELETE | /api | {"id": 1} | Remove an item |