A fullstack Sveltekit project built with:
- Turborepo to manage the monorepo.
- SvelteKit fullstack framework.
- Vitest for unit testing.
- Shadcn-svelte component library.
- TailwindCSS for styles
- Storybook stories.
- Turso database (or SQLite for offline local dev)
- DrizzleORM for managing migrations and ORM.
- LuciaAuth for user authentication.
- Install all dependencies from root level:
npm install
- 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=""
npm run dev
npm run storybook
npm run lint
npm run format
npm run build
Validates package version consistency across the repo.
Uses check-dependency-version-consistency via npx
.
npm run npm run check-versions
Checks for updates of dependencies across the repo.
Uses npm-check-updates via npx
.
npm run check-updates