Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/daliborgogic/cf-workers-modules-template

Cloudflare Worker ES module (.mjs) template
https://github.com/daliborgogic/cf-workers-modules-template

Last synced: 9 days ago
JSON representation

Cloudflare Worker ES module (.mjs) template

Awesome Lists containing this project

README

        

# cf-workers-modules-template

![deploy](https://github.com/daliborgogic/cf-workers-modules-template/actions/workflows/deploy.yml/badge.svg)

> Cloudflare Workers provides a serverless execution environment that allows you to create entirely new applications or augment existing ones without configuring or maintaining infrastructure.

> NOTE: Template uses ECMAScript module system

## Pre-requisites

You'll need a Cloudflare [Workers](https://dash.cloudflare.com/sign-up/workers) account.

## Getting started

You can either deploy with **Cloudflare** Deploy Button using GitHub Actions or deploy on your own.

[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/daliborgogic/cf-workers-modules-template)

1. Click the button and follow the instructions, you should end up with a clone of this repository

```text
- Name: CF_API_TOKEN (should be added automatically)

- Name: CF_ACCOUNT_ID (should be added automatically)
```

2. 🎉

### Deploy on your own

You can clone the repository yourself and use Wrangler CLI to develop/deploy