Updates of the hello-world application - remove the old hello-world application - adds an object "postCard" - adds a serverlessFunction `create-new-post-card` that calls the twenty api to create a new postCard record - add a route trigger /post-card/create?recipient=John
Hello world
A minimal hello-world application built with an alpha version of the twenty-cli.
⚠️ Since this project uses an early alpha release, expect breaking changes and evolving features.
This example will gradually gain complexity and capabilities as the twenty-cli matures with future updates.
Requirements
- twenty-cli
npm install -g twenty-cli - an
apiKey. Go to/settings/api-webhooksto generate one
Install to your Twenty workspace
- replace
<SET_YOUR_TWENTY_API>with your apiKey
twenty auth login
twenty app sync
What it does
- creates a new object
postCardwith anamefield - creates a serverless function
create-new-post-card - two triggers on
create-new-post-card:- one route trigger on
GET/post-card/create?recipient=RecipientName - one databaseEvent trigger on
people.createdevents
- one route trigger on
Development
Run dev mode and see application updates on your workspace instantly
twenty app dev