sveltekit-cloudflare-d1-drizzle Svelte Themes

Sveltekit Cloudflare D1 Drizzle

A demo repo to run Sveltekit and Cloudflare D1 and drizzle ORM locally

sveltekit-cloudflare-d1-drizzle

A demo repo to run Sveltekit and Cloudflare D1 and drizzle ORM locally

Getting Started

Install dependencies

pnpm install

Run migrations

pnpm db:migrate

Push data

pnpm db:push:local

Generate seeds

pnpm db:generate:seeds

Push seeds

pnpm db:push:seeds  

Run the app

pnpm dev

Drizzle Studio

To run Drizzle Studio go to drizzle.config.ts and change the dbCredentials to your db in .wrangler folder then run pnpm db:studio

Open http://localhost:5173 with your browser to see the result.

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes