An opinionated CLI for creating type-safe Svelte apps.
pnpm create o7-app
Why both Prisma and Kysely? create-o7-app
's template includes Kysely for Edge support and fast cold starts, with all the convenience of using Prisma to define your database model.
First, run the CLI to scaffold your app:
pnpm create o7-app
# OR
bun create o7-app
# OR
npm create o7-app@latest
# OR
yarn create o7-app
Then, open your new app in your favorite IDE and get started! A good place to look first is src/routes/+page.svelte
for your frontend or src/lib/server/routes/_app.ts
for tRPC.
- Move the tutorial to a README file
- Replace the dependency on
@tanstack/svelte-query
with a more lightweight tRPC client