▲ | psadri 3 months ago | |||||||||||||||||||||||||
Where is the state stored? In my own pg instance? Or is it stored somewhere in the cloud? Also, a small sample code snippet would be helpful. | ||||||||||||||||||||||||||
▲ | KraftyOne 3 months ago | parent [-] | |||||||||||||||||||||||||
The state can be stored in any Postgres instance, either locally or in any cloud. For code, here's the bare minimum code example for a workflow:
The steps can be any TypeScript function.Then we have a bunch more examples in our docs: https://docs.dbos.dev/. Or if you want to try it yourself download a template:
| ||||||||||||||||||||||||||
|