Skip to content

Latest commit

 

History

History
68 lines (43 loc) · 1.49 KB

File metadata and controls

68 lines (43 loc) · 1.49 KB

TypeScript Cloudflare Workers Project Template

Libraries

Getting Started

Use this Github Repository Template or fork the repo to get started.

Node Environment Setup

This project uses nvm

Install correct version of node:

nvm install

To activate the correct version:

nvm use

Install Dependencies

npm i

🔥 Code Away 🔥

Run your code locally

npm run server

Preview Your Worker on CloudFlare

npm run preview

Deploy Your Code to Production

First, edit the wrangler.toml file with your production configuration for Cloudflare.

Deploy your code with:

npm run publish

Other Tools/Libraries to Consider: