2022-02-02 22:52:07 +00:00
|
|
|
from flask import Flask
|
|
|
|
|
2022-02-02 23:06:27 +00:00
|
|
|
import firebase_admin
|
|
|
|
from firebase_admin import credentials
|
|
|
|
from firebase_admin import firestore
|
|
|
|
|
2022-02-02 22:52:07 +00:00
|
|
|
app = Flask(__name__)
|
|
|
|
|
|
|
|
@app.route('/')
|
|
|
|
def hello_world(): # put application's code here
|
2022-02-02 23:06:27 +00:00
|
|
|
return 'Hello World! I am the dog you tracked with the amazing sensor from LEG industries...kidding this is just the home page :)'
|
2022-02-02 22:52:07 +00:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2022-02-02 23:06:27 +00:00
|
|
|
firebase_admin.initialize_app(credentials.Certificate('firebase-key.json'))
|
2022-02-02 22:52:07 +00:00
|
|
|
app.run()
|