- The demo app source code
- DIF workshop recording. Demo presentation starts at
00:33:35
- Truvity's DIF Hackathon Discord channel
- Documentation
To run the demo application, you'll need two API keys from different Truvity accounts.
Register new accounts at https://signup.truvity.cloud/dif-hackathon-2024.
Learn how to create a new API key here.
Once you've obtained two API keys, please fill in their values in devbox.json
, replacing the existing <API_KEY_X>
placeholders
diff --git a/devbox.json b/devbox.json
index 1c06ae6..1ddbad9 100644
--- a/devbox.json
+++ b/devbox.json
@@ -6,7 +6,7 @@
],
"env": {
"DEVBOX_COREPACK_ENABLED": "true",
- "TIM_API_KEY": "<API_KEY_1>",
- "AIRLINE_API_KEY": "<API_KEY_2>"
+ "TIM_API_KEY": "PFgto...",
+ "AIRLINE_API_KEY": "ZBZ3b..."
}
}
This repository uses DevBox to set up the local environment. You can find instructions on how to install it here.
Once DevBox is installed, run devbox shell
to start a new shell with the necessary packages and tools.
Alternatively, you can configure direnv
, which will automatically set up the environment.
After setting up the development environment, install application dependencies with the following command:
yarn install
To launch the application, run the following command in your terminal:
yarn start