Create a seamless way of communicate muitple deployed cloud functions as one.
Have a reliable terminal for windows installed everything will be done with terminals
- Install node.js
- Install
npm install -g firebase-tools --save cd functions- Run
npm run servefromfunctionsfolder - Run
test.htmlwith a serverenvironment(i.e. you can installlive serverinVS Code)
Some buttons are created in test.html.
- POST
/loginlogins and start session - POST
/signupcreate a new user with email and password - GET
/profilefetch currently logged in user info - GET
/logoutlogsout and destroy session - PUT
/updateupdate currently logged in user info
- POST
/addadd new unit set - GET
/fetchfetch avaliable unit sets - GET
/fetch/:idfetch with unit set id - POST
/loginavaliable but do not use - GET
/logoutavaliable but do not use
- POST
/loginavaliable but do not use - GET
/logoutavaliable but do not use - POST
/addadd new batch set - GET
/fetchget batch set from the currently logged in user - GET
/fetch/:idforce get batch set with the id provided
- POST
/loginavaliable but do not use - GET
/logoutavaliable but do not use - GET
/historyget currently logged in user wallet history - GET
/balanceget wallet of the currently logged in user
https://us-central1-save-ease.cloudfunctions.net/auth/profile
The above URL fetches details of the currently logged in user.