HSDT Shorten URL
- Firebase Functions
- Firebase Hosting
- Firebase Dynamic Links
- Set up Node.js and the Firebase CLI
npm install -g firebase-tools
- Initialize Firebase SDK for Cloud Functions
# config firebase functions
firebase functions:config:set config.api_key=YOUR_WEB_API_KEY
firebase functions:config:set config.domain_uri_prefix=YOUR_DOMAIN_URI_PREFIX
# run the following command in the functions directory before running firebase serve
# cd functions
firebase functions:config:get > .runtimeconfig.json
# However, if you're using Windows PowerShell, replace the above command with:
firebase functions:config:get | ac .runtimeconfig.json
- Start local development
# install dependencies
cd functions
npm install
npm run serve
# or
firebase serve --only hosting,functions
# deploy
firebase deploy --only hosting,functions
Pull requests and stars are highly welcome.
For bugs and feature requests, please create an issue.
The project is licensed under the MIT License - see the LICENSE file for details