cd functions
npm i
npm run serve
Configurations to allow this these functions to run on remote enviornment are not set. For now it is only configured to work locally on your machine with emulators running.
There is still a lot left to finish, this is basically a POC.
There are two functions that support the features specified by the brief:
getUserInfo
and updateUserInfo
.
getUserInfo
queries firestore for user data name
and email
and the key is phone
.
updateUserInfo
stores data sent from the web client