This is a repository for a template to deploy a firebase function. Use it whenever you are creating a new firebase function.
- Can be found inside
package.json
file. Installed using the following command:yarn
oryarn -i
oryarn install
within the/functions
directory
yarn serve
- Begin an emulator suite at
localhost:4000
with your function being served atlocalhost:5000
. You can navigate the UI of the Emulator Suite to find the actual endpoint.
This project uses Jest. Run all tests via yarn test
.
Can be obtained by running firebase functions:config:get > .runtimeconfig.json
within your /functions
directory
$ request schema goes here
{
"response": "schema goes here"
}
{
"response": "schema goes here"
}
{
"response": "schema goes here"
}
- Firebase Functions
- NodeJS
- Jest
- Github Actions
- Prettier
- Eslint