Implement geo backend, TS client, frontend, and CI tests.
Add a Go HTTP API with Ed25519 auth and invitation onboarding, user-scoped GeoJSON Point management, a Bun-tested @noble/ed25519 TypeScript client, static Vue/Vuetify frontend integration, and a Gitea CI workflow running both Go and Bun test suites. Made-with: Cursor
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
import { GeoApiClient } from "../libs/geo-api-client/dist/index.js";
|
||||
|
||||
class BrowserStorage {
|
||||
getItem(key) {
|
||||
return localStorage.getItem(key);
|
||||
}
|
||||
setItem(key, value) {
|
||||
localStorage.setItem(key, value);
|
||||
}
|
||||
removeItem(key) {
|
||||
localStorage.removeItem(key);
|
||||
}
|
||||
}
|
||||
|
||||
export function createApiClient(baseUrl) {
|
||||
return new GeoApiClient(baseUrl, new BrowserStorage());
|
||||
}
|
||||
Reference in New Issue
Block a user