npx dexie-cloud create
2. Whitelist your app origin(s)
npx dexie-cloud whitelist http://localhost:3000
3. Upgrade dexie + install dexie-cloud-addon
npm install dexie@latest
npm install dexie-cloud-addon
4. Update your DB declaration
import Dexie from "dexie";
import dexieCloud from "dexie-cloud-addon";
const db = new Dexie('MySyncedDB', {addons: [dexieCloud]});
db.version(1).stores({
friends: '++id, name, age' // '++' = auto-incremented ID
friends: '@id, name, age' // '@' = auto-generated global ID
});
db.cloud.configure({
databaseUrl: "https://<yourdatabase>.dexie.cloud",
requireAuth: true // (optional. Block DB until authenticated)
});
Read more about authentication, access control and consistency in the Dexie Cloud documentation.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4