A full-featured SvelteKit application template with database integration, authentication, and modern development tooling.
# Install dependencies
pnpm install
Start the development server:
# Start development server
pnpm dev
# Start with debugging
pnpm debug
# Start server with inspection for debugging
pnpm tools
This project uses pnpm as the package manager. Key commands include:
pnpm dev - Start development serverpnpm tools - Start server with Node.js inspection for debuggingpnpm debug - Start Vite in debug modepnpm build - Create production build (includes route tree generation)pnpm preview - Preview production buildpnpm lint - Format and lint codepnpm format - Format code with Prettierpnpm check - Run Svelte type checkingpnpm check:watch - Run Svelte type checking in watch modepnpm test - Run all tests (schema, unit, e2e)pnpm test:unit - Run unit testspnpm test:e2e - Run end-to-end testspnpm check:system - Run complete system check (lint, check, test)To create a production version of your app:
pnpm build
The build process includes:
Preview the production build:
pnpm preview
This project includes database integration with Drizzle ORM. Available database commands:
# Start database with Docker Compose
pnpm db:start
# Push schema changes to database
pnpm db:push
# Run database migrations
pnpm db:migrate
# Open Drizzle Studio (database GUI)
pnpm db:studio
.env.example to .env and configure database settingspnpm db:startpnpm db:pushpnpm start - Start production serverpnpm cli - Run CLI toolspnpm script <script-name> - Run custom scripts from /scripts directoryGo to documentation: Docs