This is a playground web application to get myself familiar with Angular and PrimeNG (primarily).
- Firebase Emulators require a Java environment. I'm using OpenJDK
v17.x
- NodeJS
v12.x
or later. Tested withv16.13.2
- NPM
v7.x
or later. Tested withv8.1.2
Node and NPM can be obtained via
nvm
.
- Clone this repo (d'uh!)
- Install dependencies:
npm ci --no-audit --no-fund
- Globally install
firebase-tools
:npm i -g firebase-tools@9.9.0
(Please note that whilev10.x
is available it has some blocking issues) - Start emulators:
firebase emulators:start --only auth,firestore,functions,storage
- Run frontend:
npm run frontend
# Import on startup
firebase emulators:start --only auth,firestore,functions,storage --import firestore/data/default
# Import on startup, export when closing
firebase emulators:start --only auth,firestore,functions,storage --import firestore/data/default --export-on-exit
# Create an data dump (Export data while emulators are running)
firebase emulators:export firestore/data/__mydata__
Please note: Exporting files from Firebase Storage is currently not supported.