## driftdb-worker
[](https://github.com/drifting-in-space/driftdb)
[](https://crates.io/crates/driftdb-worker)
[](https://docs.rs/driftdb-worker/)
[](https://driftdb.com/)
[](https://github.com/drifting-in-space/driftdb/actions/workflows/test.yml)
[](https://discord.gg/N5sEpsuhh9)
[DriftDB](https://driftdb.com) is a is a real-time data backend that runs on the edge.
This crate implements the [DriftDB API](https://driftdb.com/docs/api) on top of Cloudflare Durable Objects.
Usage requires `wrangler`, Cloudflare’s CLI tool.
To run locally:
```bash
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](https://jamsocket.live))
To deploy to Cloudflare:
```bash
npm i
npm run deploy
```