Tag: sveltekit
12 articles
- Adding Drizzle ORM to Your SvelteKit + SQLite Setup
Level up from raw SQL to type-safe queries with Drizzle—the lightweight ORM that doesn't hide the SQL you've learned.
- The Easiest Way to Connect SQLite with Svelte for Local Development
Learn how to set up a local SQLite database with SvelteKit so you can practice data fetching without any external services.
- Learn Svelte & SvelteKit: Course Overview
A complete beginner's guide to Svelte and SvelteKit. From reactivity basics to full-stack applications, learn the framework that compiles away.
- Introduction to SvelteKit
Discover what SvelteKit adds to Svelte. Learn about project structure, the dev server, and how SvelteKit handles routing, SSR, and more.
- Routing and Pages
Master SvelteKit's file-based routing system. Learn dynamic routes, route groups, optional parameters, and layout patterns.
- Loading Data
Fetch data for your pages with SvelteKit load functions. Learn the difference between server and universal loads, and how to handle errors.
- Form Actions
Handle form submissions with SvelteKit's actions. Learn progressive enhancement, validation, and how to build forms that work without JavaScript.
- API Routes
Build backend endpoints with SvelteKit's +server.js files. Learn to handle HTTP methods, return JSON, and create REST APIs.
- Error Handling
Handle errors gracefully in SvelteKit. Learn about error pages, the error() helper, expected vs unexpected errors, and hooks.
- Deployment
Deploy your SvelteKit app to production. Learn about adapters, environment variables, and deployment platforms like Vercel, Netlify, and Cloudflare.