sk-trpc-payload
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.
web: a Svelte-kit web app with UnoCSS for stylingserver: an Express app with PayloadCMS and tRPC setup
Packages
eslint-config-custom:eslintconfigurations (includeseslint-plugin-svelteandeslint-config-prettier)dum: a scripts runner executable written in Rustreplacer: A CLI for replacing strings in files and directories written in Rust
Utilities
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
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