Open-source SaaS starter kit featuring a Law of 100 challenge app, built with SvelteKit + PocketBase.
BoilerBrew is your starting point for modern web applications, demonstrated through a complete Law of 100 challenge app.
src/web
: SvelteKit frontendsrc/backend
: PocketBase backendwebsite
: Our marketing page (safe to delete)
- Complete Law of 100 challenge app
- SvelteKit frontend with TailwindCSS
- PocketBase backend with SQLite
- Docker deployment ready
- Authentication system
- CRUD with drag & drop
- Dark/Light mode
- File upload system
- Email integration
- Mobile optimized
- Stripe Integration (WIP):
- Payment processing
- Subscription handling
- Webhook integration
- Social Authentication (Coming Soon)
- Analytics Dashboard (Coming Soon)
- AI Features (Coming Soon)
-
Clone the repository:
git clone https://github.com/yourusername/boilerbrew.git cd boilerbrew
-
Set up environment:
# Create .env in src/web PUBLIC_PB_URL=http://localhost:8090 ORIGIN=http://localhost:5173
-
Start backend:
cd src/backend ./pocketbase serve
-
Start frontend:
cd src/web npm install npm run dev
-
Open
http://localhost:5173
- Set up on Hetzner
- Configure in Coolify:
PUBLIC_PB_URL=https://api.your-domain.com ORIGIN=https://your-domain.com
- Deploy via Coolify interface
cd src
docker-compose up -d
- Supports AMD64 and ARM
- Modify
ARG PB_ARCH=arm64
insrc/backend/Dockerfile
- Build:
docker build -t pocketbase-backend ./src/backend
- Admin panel:
http://localhost:8090/_/
- Uses
pb_migrations
for schema - Uses
pb_hooks
for custom logic - Data in
pocketbase_data
volume
- Components in
src/web/src
- Uses shadcn-svelte components
- Tailwind for styling
- Superforms for form handling
- Use environment variables
- Keep dependencies updated
- Enable HTTPS in production
- Proper authentication implemented
- Check environment variables
- Verify CORS settings
- View logs:
docker-compose logs -f
Issues and PRs welcome!
MIT
If you find BoilerBrew helpful, please give it a star!