Local Development
Learn about the development workflow, file structure, and available commands.
PocketKit is a complete boilerplate for building full-stack applications with your choice of SvelteKit or Next.js (frontend) and PocketBase (backend). It includes everything you need to start building:
Get started in 60 seconds:
# 1. Clone the repositorygit clone https://github.com/stijnbakk/PocketKit.gitcd PocketKit
# 2. Run the get started script (auto-installs everything)./GET-STARTED.sh# Choose between SvelteKit or React/Next.js# 3. Start codingcd app-svelte # or app-reactyarn dev# 3. Start codingcd app-svelte # or app-reactpnpm dev# 3. Start codingcd app-svelte # or app-reactnpm run devThe script automatically:
Access your app:
http://localhost:5173 (frontend) + http://localhost:8090/_ (backend admin)http://localhost:3000 (frontend) + http://localhost:8090/_ (backend admin)Local Development
Learn about the development workflow, file structure, and available commands.
Deploy to Production
Deploy your frontend to Vercel and backend to Fly.io with free tiers.
Authentication
Authentication is already configured with cookie-based sessions and server-side validation.
GitHub Repository
View the source code, report issues, or contribute to the project.
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:
Frontend Options:
Backend:
Deployment: