turbo-sveltekit Svelte Themes

Turbo Sveltekit

Turborepo + SvelteKit starter kit

turbo-sveltekit

A fullstack Sveltekit project built with:

Getting started

  1. Install all dependencies from root level:
npm install
  1. Create a .env file with the following keys and provide the correct values:
# Used to encrypt tokens
SECRET_KEY="secret-key-here"
ENCRYPTION_METHOD="aes-256-cbc"

# Turso db
# DATABASE_URL="libsql://my-database.domain.turso.io"
# DATABASE_AUTH_TOKEN="turso-token-here"

# Local SQLite
DATABASE_URL="file:///Users/user/turso-sveltekit/packages/backend/db.sqlite"
DATABASE_AUTH_TOKEN=""

Run the webapp

npm run dev

Run the storybook

npm run storybook

Run eslint

npm run lint

Format code

npm run format

Make a production build

npm run build

Check versions consistency

Validates package version consistency across the repo.

Uses check-dependency-version-consistency via npx.

npm run npm run check-versions

Check updates

Checks for updates of dependencies across the repo.

Uses npm-check-updates via npx.

npm run check-updates

Top categories

Loading Svelte Themes