This is the backend code written in Typescript for Cloud Functions in firebase
Will update the documentation soon
For testing and development purposes, run the funcitons locally, with the auth and the firestore emulators simply by running in the functions directory
npm run test-functions
This will fireup firebase locally, and store the data (locally) in the folder, exported-dev-data
We can open the firebase UI on http://localhost:4000
NOTE: We gotta re run the command everytime, will daemonize it maybe soon
This project uses cloud functions and express like server for calls, the firebase cloud hooks and normal REST API is handled through the express thing
We can deploy to the google server simply by doing, in the functions directory
npm run deploy