sapper-firebase-typescript-graphql-tailwindcss-actions-template
Purpose: An opinionated Sapper project template designed for building modern web applications with a focus on developer experience and best practices. It integrates multiple tools and frameworks to streamline development.
Target Audience: Developers who want a pre-configured Sapper (Svelte) setup with Firebase, TypeScript, Tailwind CSS, and GraphQL support. Ideal for those who prefer an all-in-one solution with minimal configuration.
Key Features:
- Built on Sapper for Svelte (SSR and static site generation).
- Firebase Integration:
- Functions for SSR.
- Hosting for static assets.
- TypeScript Support:
- Works in Svelte components via `svelte-preprocess` .
- Includes TypeGraphQL for GraphQL schema building.
- Styling:
- Tailwind CSS with PostCSS and PurgeCSS for optimization.
- Developer Tooling:
- ESLint for code quality.
- GitHub Actions for CI/CD (auto-deploys to Firebase).
- PWA-ready with
manifest.json
and Lighthouse optimizations.
Svelte Support: The template is built around Sapper, the predecessor to SvelteKit, and is optimized for Svelte-based applications.
Project Status: Maintained until SvelteKit is stable. Migration guidance is provided via Svelte Adders .
Customization: Modular enough to remove Tailwind CSS or GraphQL if not needed. Includes instructions for optional feature removal.
Deployment Options:
- Full SSR with