A web application for managing notes and receipts with user authentication using PocketBase.
/ - Home page with login/logout functionality/notes - Notes Manager/receipts - Receipts Managerbackend/ - Hono API server with PocketBase integrationfrontend/ - React frontend applicationshared/ - Shared types and utilitiesPOCKETBASE_URL - Your PocketBase instance URLid (automatic)note (text) - The note contentcreated (datetime, automatic)updated (datetime, automatic)Important: You need to create this collection in your PocketBase admin panel with these fields:
id (automatic)message (text, optional) - The receipt message/contentstarred (boolean, optional, default: false) - Whether the receipt is starredtrashed (boolean, optional, default: false) - Whether the receipt is soft-deletedcoords (json, optional) - Geographic coordinates (not used in UI)created (datetime, automatic)updated (datetime, automatic)Collection Rules for receipts:
@request.auth.id != ""@request.auth.id != ""@request.auth.id != ""@request.auth.id != ""@request.auth.id != ""POST /api/auth/login - Login with email/passwordPOST /api/auth/logout - Logout current userGET /api/auth/me - Get current user infoGET /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 noteGET /api/receipts - Get all non-trashed receipts for authenticated userPOST /api/receipts - Create a new receipt (with optional coordinates)PUT /api/receipts/:id - Update a receipt (message and/or starred status)DELETE /api/receipts/:id - Soft-delete a receipt (sets trashed=true)