│
└───functions
│ index.js - Contains all cloud functions
└─── exports.dialogflowFirebaseFulfillment - contains all google action logic
└─── exports.createUserAccount - add user to db when they authenticate
└─── exports.cleanUpUserData - When a user is deleted, set flag in the db
Responses to our intents and add all relevant contexts and context parameters. Will be able to test this in Dialogflow by checking "use webhook".
Update status of items based on intents. We will need to create separate intents for add / remove / delete. This can be tested from the Firebase Console --> Database.
Resources
Code Examples
Firebase Documentation
Webbook @JessePeplinski
Project Design / Architecture
organizing-your-firebase-cloud-functions - this is how we should eventually structure our project
Write Code
Google Actions & Dialogflow
Responses to our intents and add all relevant contexts and context parameters. Will be able to test this in Dialogflow by checking "use webhook".
Routines and Reminders
Database
@JessePeplinski and @ZacharyPeck to work together to integrate.
GREAT RESOURCE HERE
exports.addUsertoDatabaseWithAuthDynamic Population
Update status of items based on intents. We will need to create separate intents for add / remove / delete. This can be tested from the Firebase Console --> Database.
Resources