sapper-typescript-graphql-template
Purpose: A project template extending the official Sapper Rollup template with TypeScript preprocessing and GraphQL server capabilities via TypeGraphQL (Apollo Server). Designed for building modern web applications with Svelte.
Key Features:
- Svelte/Sapper Integration: Built on Sapper for Svelte .
- TypeScript Support: Enabled in Svelte components using `svelte-preprocess` .
- GraphQL Server: Powered by TypeGraphQL and Apollo Server.
- Progressive Web App (PWA): Includes best practices like
manifest.json
, high Lighthouse scores, and responsive design. - Tooling: ESLint for code quality, with VS Code integration.
Target Audience: Developers looking for a Sapper-based project with TypeScript and GraphQL support, particularly those transitioning to SvelteKit in the future.
Project Status: Actively maintained until SvelteKit is ready. Future migration guidance provided via Svelte Adders .
Customization:
- Web app metadata (e.g.,
manifest.json
, icons) can be tailored. - GraphQL server can be removed if not needed.
- Source maps configurable for development/production.
- Web app metadata (e.g.,
License: MIT.
sappertypegraphqltypescripteslintsvelteapollo-servergraphql
Featured Stories
No featured articles here. Navigate to an article, then pick the Feature on menu button