The feature branch is currently based on main (old file-based, templ-template architecture). The develop branch has a completely different, more advanced architecture: VanJS SPA, REST JSON API, SQLite-based storage (modernc.org/sqlite), Playwright e2e tests. The feature must be built on top of develop.
The develop branch already has:
- SQLite DB with
notes,notes_fts,attachments,snapshotstables - REST API at
/api/notes,/api/search, etc. - VanJS SPA frontend in
staticfs/js/app.js+staticfs/js/api.js