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:
- Have Firebase functions install globally with
npm i -g firebase-tools
- Change the project name in
.firebaserc
to match your own Google Cloud Project - install your functions node packages with
cd functions
thennpm i
- 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.
- test it locally with
firebase serve
- deploy with
firebase deploy