This demo shows the setup with the following profiles:
- wather/current-city with wttr.in and OpenWeatherMap (optional)
- social-media/publish-post with Twitter
- communication/send-email with Sendgrid and Postmark
- Install dependencies with
npm i
- Copy
.env.example
file to.env
- In
.env
file fill in tokens for providers and adjust email addresses
TWITTER_ACCESSTOKEN
requires a valid Twitter OAuth 2.0 access token withtweet.write
scope, see social-media-demo for complete setup with authorization flow
- Run with
node index.mjs