Skip to content

Example workflows and setup instructions to use Hatchet with Typescript projects

Notifications You must be signed in to change notification settings

hatchet-dev/hatchet-typescript-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hatchet Typescript Quickstart

The following is a template repo to get started with the Hatchet Typescript SDK. It includes instructions for getting started with Hatchet cloud along with a locally running instance of Hatchet.

Cloud Version

Navigate to your settings tab in the Hatchet dashboard. You should see a section called "API Keys". Click "Create API Key", input a name for the key and copy the key. Then copy the environment variable:

HATCHET_CLIENT_TOKEN="<token>"

You will need this in the examples.

Next steps: see Running Workflows to trigger your first Hatchet workflow.

Local Version

Run the following command to start the Hatchet instance:

docker compose up

This will start a Hatchet instance on port 8080. You should be able to navigate to localhost:8080 and use the following credentials to log in:

Email: admin@example.com
Password: Admin123!!

Next, navigate to your settings tab in the Hatchet dashboard. You should see a section called "API Keys". Click "Create API Key", input a name for the key and copy the key. Then copy the environment variable:

HATCHET_CLIENT_TOKEN="<token>"

You will need this in the examples.

Next steps: see Running Workflows to trigger your first Hatchet workflow.

Running Workflows

Simple Examples: stand-alone workers showing off core functionality of hatchet

To get started, navigate to the respective example directories for further README instructions and refer to the Documentation

About

Example workflows and setup instructions to use Hatchet with Typescript projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published