A reasonable foundation for ambitious Svelte apps.
Production-ready building blocks for authentication, workspaces, members, roles, activity logs, and more.
SvelteStack is an open-source, production-ready starter kit for building modern full-stack applications with SvelteKit and Svelte 5. It provides the essential building blocks that every real product eventually needsβnot a bloated template, just solid, production-ready primitives.
SvelteStack comes with Vault, a fully-functional demo application showcasing file storage and workspace management. Use it as a starting point for your own application, extend it with new features, or study it as a learning resource.
The included Vault application demonstrates:
File Management
Workspace Management
Team Collaboration
Before you begin, ensure you have the following installed:
Clone the repository
git clone https://github.com/vsamarth/sveltestack.git
cd sveltestack
Run the setup script
bash scripts/setup.sh
The setup script will:
.env file with generated secretsStart the development server
bun dev
Open your browser
Visit http://localhost:5173 to see your app.
Here are the key areas you can customize:
src/lib/config.tssrc/lib/server/db/schema/src/lib/components/src/routes/src/lib/emails/We want to ensure the foundations you build upon are always working. That's why SvelteStack ships with comprehensive integration and end-to-end tests. You can run them with:
# Run all tests
bun run test
# Run unit tests only
bun run test:unit
# Run E2E tests only
bun run test:e2e
# Run tests with coverage
bun run test:coverage
# Watch mode
bun run test:watch
We recommend deploying to Vercel for hosting and Neon for PostgreSQL. Cloudflare R2 provides free S3-compatible storage for your file uploads.
More detailed instructions on how to set everything up are coming soon.
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
SvelteStack is built with amazing open-source tools: