Skeleton project of firebase function with python
- MyPy for python type checker
- Simple HTTP server with swagger for API documentation
- Various helpers scripts
python3.7
setuptools
gcloud
- https://cloud.google.com/sdk/docs/
If you don't have setuptools
installed
pip3 install setuptools
Open scripts/deploy-prod
and change {{YOUR PROJECT NAME}} place holder to your project name.
Then
python3 setup.py install
At root folder, run
start-dev
Then go to your favourite and navigate to http://127.0.0.1:5000
port might be changed, please check in flask
output
also check this out https://cloud.google.com/functions/docs/concepts/python-runtime
run-test
Run command below, you might need to do login to gcloud first with account that has access to your project.
deploy-prod