sapper-firebase-sample

Sapper Firebase Sample

prebuilt SSR web app with Firebase functions, hosting, and Svelte Sapper

Sapper Firebase Demo

This repository is companion code to Build an SSR web app with Firebase functions, hosting, and Svelte Sapper

To get this up and running for your own firebase project, make sure you do the following:

  1. Have Firebase functions install globally with npm i -g firebase-tools
  2. Change the project name in .firebaserc to match your own Google Cloud Project
  3. install your functions node packages with cd functions then npm i
  4. build your sapper project with npm run build

    you can use npm run dev while you are developing your sapper app without needing to run firebase in the background.

  5. test it locally with firebase serve
  6. deploy with firebase deploy

Top categories

Loading Svelte Themes