S.H.I.T. - Svelte Hosted Infrastructure for Tenants. The S.H.I.T. that actually works! 🚀
A powerful, opinionated multi-tenant SaaS framework built with Svelte 5, SvelteKit, Tailwind and PocketBase.
npm install
npm run dev
By default the app connects to a PocketBase instance at http://127.0.0.1:8090. Change the constant in src/lib/pocketbase.ts to point to your instance.
Visit /login to authenticate against your PocketBase server. The dashboard route shows the raw authenticated user.
Generate PocketBase collections with standard permissions using a JSON field definition:
npm run generate <collectionName> collections/example.json
The generator will import the collection into the PocketBase instance configured by PB_URL environment variable.
Vitest is configured:
npm test
collections/example.json – sample field definitionscripts/generateCollection.ts – imports collectionsMIT