sk-trpc-payload icon indicating copy to clipboard operation
sk-trpc-payload copied to clipboard

A turborepo template featuring Sveltekit and Payload CMS, ready to be deployed to a single node server - specifically using https://railway.app.

Svelte-Kit + PayloadCMS + tRPC Turborepo

This is an custom made Turborepo starter.

What's inside?

This Turborepo includes the following packages/apps:

Apps

Each app is 100% TypeScript.

Packages

  • eslint-config-custom: eslint configurations (includes eslint-plugin-svelte and eslint-config-prettier)
  • dum: a scripts runner executable written in Rust
  • replacer: A CLI for replacing strings in files and directories written in Rust

Utilities

This Turborepo has some additional tools already setup for you:

Getting Started

This project uses pnpm.

npx degit HanielU/turbo-sk-payload-trpc my-project # download the project

cd my-project # navigate into the project

pnpm install # install dependencies

Running the apps

In the project root and run the following command.

pnpm dev

This will run both the Svelte-kit and Payload apps in parallel.

License

This project is licensed under the MIT License - see the LICENSE file for details