- Init and setting your project.
- CHANGE
firebaseConfig
TO YOUR PROJECT CONFIG - Change
SubjectAPI
inpublic/main.js
to your SubjectAPI Source - Run
firebase functions:config:set ku.username="<username>" ku.password="<password>" ku.appkey="txCR5732xYYWDGdd49M3R19o1OVwdRFc" api.secret="<Your Secret>"
to set Username, Password, and Cache reload API Secret - Run
gsutil cors set cors.json gs:https://<BUCKET_NAME>
to enable cors header for API. - Run
firebase deploy
to deploy everything.
You can make.