A unified full-stack template with SvelteKit (Svelte 5), TailwindCSS, DaisyUI, AuthJS, Postgres, and more.
by ctwhome
- Installation Guide - Complete setup instructions
- Development Guide - Development workflow and best practices
- Database Guide - Database setup and migrations
- Authentication Guide - Authentication system documentation
- API Documentation - Available API endpoints
- Versioning Guide - Semantic versioning and release management
- Simplicity in code: Update Svelte stores locally and let syncing happen in the background
- Future scalability: Real-time sync, offline-first capabilities
- Role-Based Access Control: Server-side authorization with built-in role management
- Automated Versioning: Semantic versioning with conventional commits
- Release Management: Automated changelog generation and GitHub releases
- Copy
.env.example
to.env
and fill in the required variables
It will run the database, migrations and frontend services.
docker compose up
# Start everything (including the seed service):
docker compose --profile seed up
# or just run the seed container on demand:
docker compose --profile seed run seed
docker compose down -v # Remove all volumes, carefull all data will be lost.
docker compose logs -f
Running locally without docker and external database url (or i.e. local postgres running on port 5432)
bun install
bun dev
Visit http://localhost:5173 to open the application.
This project supports Conventional Commits for automated versioning:
# Regular commits work normally
git commit -m "update readme"
# Use conventional format for automatic versioning
git commit -m "feat: add new feature" # Minor version bump
git commit -m "fix: resolve bug" # Patch version bump
No enforcement - commit as you prefer! See Versioning Guide for details.
Releases are automated via GitHub Actions when pushing to main
:
- Automatic version bumping based on commit types
- Changelog generation
- GitHub release creation
View releases at Releases and changelog at CHANGELOG.md.