This is the code for the backup / restore server used by Dashy. For more info, see Dashy Cloud Sync Docs.
All data needs to be encrypted before being sent to the backend. In Dashy, this is done in CloudBackup.js
, using crypto.js's AES method, using the users chosen password as the key.
Getting Started
- Install Wrangler CLI Tool:
npm i -g @cloudflare/wrangler
- Log into Cloudflare account:
wrangler login
- Create a new project:
wrangler generate my-project
- Install dependencies:
cd my-project
&&npm i
- Populate
wrangler.toml