flixdb
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.
Hono-based API server that provides authentication and CRUD operations for notes using PocketBase.
POCKETBASE_URL- Your PocketBase instance URL
POST /api/auth/login- Login with email/passwordPOST /api/auth/logout- Logout (requires auth)GET /api/auth/me- Get current user info (requires auth)
GET /api/notes- Get all notes for authenticated userPOST /api/notes- Create a new notePUT /api/notes/:id- Update a noteDELETE /api/notes/:id- Delete a note
All note endpoints require authentication via Bearer token in Authorization header.
/- Serves the main HTML page/frontend/*- Serves frontend React components/shared/*- Serves shared TypeScript types