Skip to content

Firebase

Amy J. Ko edited this page Feb 24, 2024 · 4 revisions

We use Firebase for our backend. Most contributors won't have to interact with it, since most of Wordplay can be run locally without Firebase access. But there are a few cases where you might need to. We detail these below.

Using the Emulator

If you want to be able to test things like login and gallery features that require authentication and a database, you'll also need to run the Firebase emulator:

Almost everything will work like it does on the live website, but some things --- like logging in --- will be different. Write the #contributors channel on Discord if you're stuck.

Releasing

We have a few npm scripts in package.json that we use for staging to test.wordplay.dev and release to wordplay.dev. But these require permissions to access the Firebase projects, and these are restricted to our lead roles. We'll add more documentation on these as necessary.

Clone this wiki locally