SvelteKit starter
A Svelte-based web application boilerplate.
Technologies
- SvelteKit using Svelte 3 for easier understanding for LLMs
- Bun - JavaScript runtime & package manager
- TailwindCSS - Utility-first CSS framework
- Biome - Linter & formatter
- DaisyUI - Component library
- Pocketbase - Backend database
Getting Started
Copy the environment example file:
cp .env.example .env
Edit .env file:
- For local development: Set
VITE_POCKETBASE_URL
to your local PocketBase instance
- For production: Set
VITE_POCKETBASE_REMOTE_URL
to your remote PocketBase URL
- Install dependencies:
bun install
Development
- Start the development server:
bun run dev
- or open in a new browser tab:
bun run dev -- --open
Building
Create a production build:
bun run build
Preview the production build:
bun run preview