How to get setup and deploy Jobs for your Express project
tr_dev_
).
.env
file at the root of your project and include your Trigger API key and URL like this:
ENTER_YOUR_DEVELOPMENT_API_KEY_HERE
with the actual API key obtained from the previous step.
<root>/trigger.(ts/js)
<root>/jobs/example.(ts/js)
package.json
package.json
file, add the following configuration under the root object:
npm run start
instead of dev--port 3001
to the end--hostname <host>
. Example, in case your Express is running on 0.0.0.0: --hostname 0.0.0.0
.