Skip to content

oldking139/reflare-template

 
 

Repository files navigation

Header

🚀 The template to deploy Reflare to Cloudflare Workers. The src/index.ts file contains the route definitions of Reflare. The documentation of Reflare can be found here.

Deploy to Cloudflare Workers

Installation

Install wrangler CLI and authorize wrangler with Cloudflare account.

npm install -g @cloudflare/wrangler
wrangler login

Generate a new project from reflare-template and install the dependencies.

wrangler generate reflare-app https://github.com/xiaoyang-sde/reflare-template
cd reflare-app
npm install

Edit or add route definitions in src/index.ts. Please read the examples and route definition section below for more details.

  • Run npm run dev to preview Reflare with local development server provided by Miniflare.
  • Run npm run deploy to publish Reflare on Cloudflare Workers.

About

🚀 The template to kickstart Reflare

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%