feat(frontend): connect client to local SurrealDB

Add a SurrealDB service with a local IndexedDB-backed (indxdb://) connection for private, local-first data and an optional remote connection for sync. Initialize the local connection on app start and document the required VITE_* variables in .env.example.

Bump the client version to 0.0.1.
This commit is contained in:
Rafał Tyński
2026-10-03 20:23:18 +02:00
parent e8e1658b3a
commit 3b94358162
5 changed files with 148 additions and 4 deletions
+3 -1
View File
@@ -1,7 +1,7 @@
{
"name": "hubmi-client",
"private": true,
"version": "0.0.0",
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite",
@@ -11,7 +11,9 @@
},
"dependencies": {
"@mdi/font": "^7.4.47",
"@surrealdb/wasm": "^2.6.1",
"@vueuse/core": "^15.0.0",
"surrealdb": "^2.0.10",
"vue": "^3.5.42",
"vuetify": "^4.2.3"
},