Pocketbase Sveltekit Starter

screenshot of Pocketbase Sveltekit Starter
svelte

a starter project to build a SvelteKit frontend with PocketBase backend

Overview

The PocketBase/SvelteKit Starter App is a customizable app that serves as a starting point for creating your own backend with PocketBase and frontend with SvelteKit. It combines a high-performance static frontend generated with SvelteKit and a single compiled Golang binary backend. The backend provides features such as a database (SQLite), CRUD API for the database, realtime subscriptions for live data, authentication and authorization, file storage, and hooks and API endpoints implemented in JavaScript. The app can be downloaded as a binary, but it also includes code to compile it locally with custom Golang code.

Features

  • Fully static SvelteKit frontend with no need for NodeJS at runtime
  • Complete and fast backend including database, CRUD API, realtime subscriptions, authentication and authorization, and file storage
  • Hooks and API endpoints implemented in JavaScript and Golang
  • Ability to extend the backend with custom Golang or JavaScript code
  • Live development setup with hot module reloading of frontend app when editing Svelte code and hot reloading of the backend server when editing Go code or JavaScript code

Summary

The PocketBase/SvelteKit Starter App provides a customizable starting point for building a backend with PocketBase and a frontend with SvelteKit. It offers a high-performance frontend and a complete backend with features like a database, CRUD API, realtime subscriptions, and authentication. The app allows for easy extension with custom Golang or JavaScript code and provides a live development setup for efficient development.

svelte
Svelte

Svelte is a modern front-end framework that compiles your code at build time, resulting in smaller and faster applications. It uses a reactive approach to update the DOM, allowing for high performance and a smoother user experience.