The Firebase documentation mentions that the local emulator supports Real and Demo projects. A demo project is defined as:
A demo project has no Firebase console configuration and no live resources. Demo project IDs have the demo- prefix.
The above mentions a demo- prefix but I can't find any examples of how that works. Is it possible to setup a demo project as specified in the above documentation without requiring a Firebase console project or any live resources?
You can start the emulators with a demo project by using the --project
flag:
$ firebase emulators:start --project demo-test --only auth
Just make sure that the project ID start with the demo-
prefix. This line will produce the following output:
i emulators: Starting emulators: auth
i emulators: Detected demo project ID "demo-test", emulated services will use a demo configuration and attempts to access non-emulated services for this project will fail.