Skip to content

Firebase

Isabel Amaya edited this page Sep 13, 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. If you're stuck, write to the #contributors channel on Discord.

Releasing

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

Clone this wiki locally