sveltekit-drizzle-planetscale-vercel Svelte Themes

Sveltekit Drizzle Planetscale Vercel

A simple todo app using SvelteKit, Drizzle ORM, PlanetScale, and Vercel.

Do Not Use! This is a WIP

Stack Logic

  • Vercel
    • Hosting + Edge functions
  • PlanetScale
    • DB Hosting
  • database-js
    • Fetch API-compatible PlanetScale database driver.
    • This allows for using edge functions. Since Sveltekit uses Fetch-API on backend as well, this is perfect.

FAQ

But what about speed?

If you need speed for a specific task, add a message queue, write a consumer in Go / Rust, and let that crunch the data asynchronously at bare metal speeds. RabbitMQ, Soketi, Pocketbase are common solutions for this.

TODO:

  • setup planetscale integration
  • test orm
  • find ui for viewing database
  • learn more about edge functions
  • figure out how sign-up works

Top categories

Loading Svelte Themes