Skip to content

About

HSDT Shorten URL

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

shorten-url

HSDT Shorten URL

Service Dependencies

Development Guide

  1. Set up Node.js and the Firebase CLI
npm install -g firebase-tools
  1. 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
  1. Start local development
# install dependencies
cd functions
npm install
npm run serve

# or
firebase serve --only hosting,functions

# deploy
firebase deploy --only hosting,functions

Contributing

Pull requests and stars are highly welcome.

For bugs and feature requests, please create an issue.

LICENSE

The project is licensed under the MIT License - see the LICENSE file for details

About

HSDT Shorten URL

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages