Sveltekit-Drizzle-tRPC-Zod-Neon

Sveltekit Drizzle Trpc Zod Neon

A starting template to get up and running with SvelteKit.

SvelteKit + Drizzle + tRPC + Zod + Neon

Everything you need to start developing a modern full stack Svelte Kit project.

I am planning on adding Lucia, Svelte Query and Svelte Superforms.

I suggest using shadcn-svelte or Skeleton for your UI as they play nicely with TailwindCSS

Why tRPC, isn't that redundant?

Mainly because I enjoy the way tRPC deals with routes, middleware, and how it plays with Zod. You can also easily integrate it with Svelte Query.

Feel free to remove tRPC if you want to use it.

Drizzle Kit commands

Drizzle Kit comes with a nice set of commands for working with your database.

npm run db:generate generates migrations based on local schema

npm run db:push pushes local schema changes directly to the database

Look here for more information about the available commands.

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Top categories

Loading Svelte Themes