Skip to content

Building a Flask(Python) CRUD API with Firestore(Firebase) and Deploying on Cloud Run.

Notifications You must be signed in to change notification settings

Timtech4u/flask-firestore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run on Google Cloud

flask-firestore

Building a Flask(Python) CRUD API with Firestore(Firebase) and Deploying on Cloud Run.

Endpoints

  • /add - Create new document | POST
  • /list - List all documents | GET
  • /update?id=ID_GOES_HERE - Update a document | POST
  • /delete?id=ID_GOES_HERE - Delete a document | DELETE

Pass ?document_id=mydoc to use a custom document Pass ?collection=appointment to use a custom collection. Pass ?sub_collection=property to use a custom sub_collection.

Running Application

FLASK_APP=main.py FLASK_ENV=development flask run --port 8080
or
python3 main.py

About

Building a Flask(Python) CRUD API with Firestore(Firebase) and Deploying on Cloud Run.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published