serverless.yml
.app
directory. This directory is where your frontend UI code will live. You will find your HTML, Javascript, CSS here. Note that if you have multiple UIs in different App Zones, you many want to have subdirectories for each App Zone.package.json
file is where you define your NPM dependencies."main"
field be dronedeploy.js
as that is how the platform knows which file to run.package.json
, you can install it by running the following command.dronedeploy-cli
is built using the Serverless framework. The serverless framework uses the serverless.yml
file for configuration.dronedeploy
since you are deploying your serverless functions on the DroneDeploy Platform.@dronedeploy/dronedeploy-cli
. This lets the serverless framework know to use the dronedeploy-cli
as the plugin.ifttt-webhook
.handlerPath
lets the CLI know where to find your function files.handler
defines the module to run in your dronedeploy.js
function file. Typically this field should stay as dronedeploy
.resources
. Each table can have multiple columns. You can learn more about Datastore tables here.serverless deploy
, your app is now ready for use.package.json
, with configuration passed via command-line arguments:package.json
will look something like below. Note the main
and scripts
fields, they indicate the entry file and point for your function.