- Nodejs
- Firebase CLI
- Standardjs (Install it globally)
-
Change your current directory to
functions
folder and run:npm install
-
Change the permissions of the
pre-commit
file:chmod +x pre-commit
-
Move the
pre-commit
file to the.git/hooks
folder
Test out your functions locally using:
firebase serve
Deploy all the functions using:
firebase deploy
Remember to update the security rules in the webpage of the project using Firebase's recommendations and the data indexes using Firebase's guide.
Use the following rule to write your messages:
This commit will: <commit message>
Examples:
This commit will: Test the NutriaUser endpoint using jest
Note: Remember to capitalize the first letter of the message.
All the available task are located inside the board, remember to upload the status of your task to show others what has been done.
Please don't commit personal editor's configuration (e.g. .vscode), you shouldn't push your personal settings to the repo in order to not confuse other contributors.