Dashboard for the Bitcoin Yield Hub and Native nBTC
.
- node >= v22
- pnpm >= 10.11
- proper editorconfig mode setup in your editor!
Run the dev server (using wrangler cloudflare framework as a backend):
# firstly install the latest dependencies
pnpm install
pnpm run dev
Running:
pnpm run build
pnpm start
To apply migrations to the local cloudflare env:
pnpm run db:migrate:local
Generate types for your Cloudflare bindings in wrangler.toml
:
pnpm run typegen
You will need to rerun typegen whenever you make changes to wrangler.toml
.
This template comes with Tailwind CSS already configured for a simple default starting experience. You can use whatever css framework you prefer. See the Vite docs on css for more information.