Work in progress: a Svelte Sapper template / boilerplate with Apollo GraphQL and MongoDB built-in
The eddyvinck/sapper-graphql-template is a template based on the default Sapper template (Rollup). It allows developers to easily scaffold projects and use GraphQL with Svelte. The template supports server-side rendering and includes features such as svelte-apollo, apollo-server-express, and GraphQL Playground. The template also includes configuration files, authentication via GraphQL, and uses MongoDB with mongoose.
To use the eddyvinck/sapper-graphql-template, follow these steps:
npm install -g degitmkdir project-namecd project-namedegit eddyvinck/sapper-graphql-template#rollup
cd project-name
yarn install
yarn dev
The eddyvinck/sapper-graphql-template is a template that builds on the default Sapper template (Rollup) and allows developers to easily scaffold projects using Svelte with GraphQL support. It includes features such as svelte-apollo, apollo-server-express, and GraphQL Playground. The template also supports server-side rendering and integrates MongoDB with mongoose for data storage. With authentication via GraphQL and configuration files, this template provides a solid foundation for building web applications using Sapper and GraphQL.