Crates.io | driftdb-worker |
lib.rs | driftdb-worker |
version | 0.1.4 |
source | src |
created_at | 2023-01-22 23:43:50.835897 |
updated_at | 2023-03-03 21:08:13.311758 |
description | A real-time data backend for browser-based applications (Cloudflare worker). |
homepage | https://driftdb.com |
repository | https://github.com/drifting-in-space/driftdb |
max_upload_size | |
id | 765430 |
size | 54,720 |
DriftDB is a is a real-time data backend that runs on the edge.
This crate implements the DriftDB API on top of Cloudflare Durable Objects.
Usage requires wrangler
, Cloudflare’s CLI tool.
To run locally:
npm i
npm run dev
Deploying to Cloudflare requires a Durable Objects subscription from Cloudflare. (If you just want to experiment with DriftDB, you can access a server for free at jamsocket.live)
To deploy to Cloudflare:
npm i
npm run deploy