https://github.com/conductor-sdk/typescript-examples
Typescript examples using conductor sdk
https://github.com/conductor-sdk/typescript-examples
javascript microservices typescript
Last synced: 5 months ago
JSON representation
Typescript examples using conductor sdk
- Host: GitHub
- URL: https://github.com/conductor-sdk/typescript-examples
- Owner: conductor-sdk
- Created: 2023-06-13T22:05:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-26T16:33:43.000Z (almost 2 years ago)
- Last Synced: 2024-06-26T20:13:55.907Z (almost 2 years ago)
- Topics: javascript, microservices, typescript
- Language: TypeScript
- Homepage: https://conductor.netflix.com/
- Size: 290 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Typescript Example
This repo contains two examples. One is a fraud analisis worker for a banking workflow.
The other is a full workflow as code example.
Examples:
1. [Banking Example](src/banking/README.md)
2. [User Info Example](src/emailsms/README.md)
### Running Example
install dependencies using `yarn`
> **Note**
Obtain KEY and SECRET from the playground or your Conductor server. [Quick tutorial for playground](https://orkes.io/content/docs/getting-started/concepts/access-control-applications#access-keys)
Export variables
```shell
export KEY=
export SECRET=
export SERVER_URL=https://play.orkes.io/api
```
Run the main programs using ts-node
```shell
ts-node src/banking/main.ts
ts-node src/emailandsms/main.ts
```
### The Files that run the workflow and worker:
1. [Banking Example](src/banking/main.ts)
2. [User Info Example](src/emailsms/main.ts)