Svelte + Sapper + GraphQL + Firebase Auth
This product is a Svelte starter theme that combines Sapper, Firebase, and GraphQL. It includes features such as Svelte, Sapper, RxJS, GraphQL via Hasura’s graphql-engine, and Authentication via Firebase Auth. The theme also uses a Service Worker to cache GraphQL requests.
To install the theme, follow these steps:
yarn in the project root to install dependencies.yarn dev or npm run dev from the project root. The app will be running at http://localhost:3000.yarn build or npm run build from the project root.yarn start or npm start..env file to add your credentials.src/firebase/config.js.graphql directory with your own queries and mutations.docker run -p 3000:3000 -it <IMAGE> sh, replacing <IMAGE> with the appropriate image name. Then, from inside the image, run node __sapper__/build. Finally, open your browser to localhost:3000.Please note that some setup is required as the repo does not include personal Hasura and Firebase configurations.
This Svelte starter theme combines Sapper, Firebase, and GraphQL to provide users with a powerful and efficient development framework. It includes features such as Svelte, Sapper, RxJS, GraphQL via Hasura’s graphql-engine, and Authentication via Firebase Auth. The theme also prioritizes performance by utilizing a Service Worker to cache GraphQL requests. Installation is straightforward and requires setting up credentials and configurations specific to each user. Overall, this theme is a comprehensive solution for building modern web applications.