svelte-trpc-monorepo-template Svelte Themes

Svelte Trpc Monorepo Template

A template for a monorepo w/ Svelte on the frontend and tRPC + Effect on the backend

svelte-trpc-monorepo

A template for a Bun-driven monorepo w/ Svelte on the front end, and tRPC w/ Effect on the back end.

Prerequisites

  • Bun
    • or npm, pnpm, or yarn if you prefer, just delete the Bun lockfile

To install dependencies:

bun install

Getting started:

The start:dev script at the root will run the start:dev scripts in each package.

bun start:dev

That script is really just using nx under the hood. To run a script in one of the apps, individually, use nx:

# Examples
nx start:dev api
nx start:dev web
nx build api
nx build web

Top categories

Loading Svelte Themes