Skip to content

Welcome to PocketKit

Build and deploy full-stack apps in minutes with SvelteKit and PocketBase

PocketKit is a complete boilerplate for building full-stack applications with SvelteKit (frontend) and PocketBase (backend). It includes everything you need to start building:

  • Authentication ready - Login, register, and session management configured
  • Free deployment - Frontend on Vercel, backend on Fly.io
  • Automatic deployment - Push to GitHub and deploy automatically
  • Local development - Single command to run both frontend and backend
  • TypeScript - Fully typed with SvelteKit and PocketBase SDKs

Get started in 60 seconds:

Terminal window
# 1. Clone the repository
git clone https://github.com/stijnbakk/PocketKit.git
cd PocketKit
# 2. Run the get started script (auto-installs everything)
./GET-STARTED.sh
# 3. Start coding
cd app
npm run dev # or: yarn dev / pnpm dev

The script automatically:

  • Initializes a fresh git repository
  • Installs dependencies (using pnpm/yarn/npm)
  • Downloads PocketBase for your OS
  • Creates your initial commit

Visit http://localhost:5173 to see your app and http://localhost:8090/_ to set up your admin account.

Local Development

Learn about the development workflow, file structure, and available commands.

Learn more →

Deploy to Production

Deploy your frontend to Vercel and backend to Fly.io with free tiers.

Learn more →

Authentication

Authentication is already configured with cookie-based sessions and server-side validation.

Learn more →

GitHub Repository

View the source code, report issues, or contribute to the project.

View on GitHub →

Building full-stack apps requires setting up authentication, databases, deployment pipelines, and more. PocketKit handles all of this so you can focus on building your product:

  • No backend code needed - PocketBase provides a complete backend with REST API, real-time subscriptions, and admin UI
  • Free hosting - Both Vercel and Fly.io offer generous free tiers
  • Fast development - Hot reload for both frontend and backend during development
  • Production-ready - Includes security best practices, TypeScript, and proper error handling
  • Frontend: SvelteKit 2 with Svelte 5, TypeScript, and Tailwind CSS
  • Backend: PocketBase (Go-based backend with SQLite)
  • Deployment: Vercel (frontend) + Fly.io (backend)
  • Database: SQLite (managed by PocketBase)