Firebase Edge Functions
Firebase Setup
Setup your firebase app using this guide.
Edge Functions
- Create a service account in the Firebase console.
- Add the service account key file to the
backend/firebase/functions
directory. - Don’t rename the file.
If you want to use firebase for edge functions, you can use the local instance of firebase-functions in the firebase/functions
directory.
Run the following command to start the firebase functions server:
If you want to also watch the firebase functions code and automatically restart the server on changes, you can run the following command: