Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cloudflare/workflows-starter
A starter template for Cloudflare Workflows.
https://github.com/cloudflare/workflows-starter
cloudflare durable-execution workers workflows
Last synced: 4 months ago
JSON representation
A starter template for Cloudflare Workflows.
- Host: GitHub
- URL: https://github.com/cloudflare/workflows-starter
- Owner: cloudflare
- License: apache-2.0
- Created: 2024-10-16T10:20:35.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-24T17:15:57.000Z (4 months ago)
- Last Synced: 2024-10-26T08:30:29.467Z (4 months ago)
- Topics: cloudflare, durable-execution, workers, workflows
- Language: TypeScript
- Homepage: https://developers.cloudflare.com/workflows/
- Size: 67.4 KB
- Stars: 3
- Watchers: 8
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cloudflare Workflows
This is the starter template for Workflows, a durable execution engine built on top of Cloudflare Workers.
* Clone this repository to get started with Workflows
* Read the [Workflows announcement blog](https://blog.cloudflare.com/building-workflows-durable-execution-on-workers/) to learn more about what Workflows is and how to build durable, multi-step applications using the Workflows model.
* Review the [Workflows developer documentation](https://developers.cloudflare.com/workflows/) to dive deeper into the Workflows API and how it works.## Usage
**Visit the [get started guide](https://developers.cloudflare.com/workflows/get-started/guide/) for Workflows to create and deploy your first Workflow.**
### Example
You can create a project using this template by using `npm create cloudflare@latest`:
```sh
npm create cloudflare@latest workflows-starter -- --template "cloudflare/workflows-starter"
```This will automatically clone this repository, install the dependencies, and prompt you to optionally deploy:
```sh
╭ Create an application with Cloudflare Step 1 of 3
│
├ In which directory do you want to create your application?
│ dir ./workflows-tutorial
│
├ What would you like to start with?
│ category Template from a GitHub repo
│
├ What's the url of git repo containing the template you'd like to use?
│ repository cloudflare/workflows-starter
│
├ Cloning template from: cloudflare/workflows-starter
│
├ template cloned and validated
│
├ Copying template files
│ files copied to project directory
│
├ Installing dependencies
│ installed via `npm install`
│
╰ Application created╭ Configuring your application for Cloudflare Step 2 of 3
│
├ Installing @cloudflare/workers-types
│ installed via npm
│
├ Adding latest types to `tsconfig.json`
│ added @cloudflare/workers-types/2023-07-01
│
├ Do you want to use git for version control?
│ yes git
│
├ Initializing git repo
│ initialized git
│
├ Committing new files
│ git commit
│
╰ Application configured╭ Deploy with Cloudflare Step 3 of 3
│
├ Do you want to deploy your application?
│ no deploy via `npm run deploy`
│
╰ Done────────────────────────────────────────────────────────────
🎉 SUCCESS Application created successfully!
```The [Workflows documentation](https://developers.cloudflare.com/workflows/) contains examples, the API reference, and architecture guidance.
## License
Copyright 2024, Cloudflare. Apache 2.0 licensed. See the LICENSE file for details.