Skip to content

FujiokiO/GroundReflare

 
 

Repository files navigation

Header

Deploy to Cloudflare Workers

reflare-template is a minimal template to kickstart a worker with Reflare and TypeScript.

Installation

  • Generate a new project from reflare-template and install the dependencies, which include reflare, wrangler, typescript, and @cloudflare/workers-types.
npm init cloudflare reflare-app https://github.com/xiaoyang-sde/reflare-template
cd reflare-app
npm install
  • Authenticate wrangler with a Cloudflare account.
npx wrangler login
  • Edit or add route definitions in src/index.ts. Please refer to the documentation of Reflare.

  • Run npm run dev to preview Reflare with a local development server.

  • Run npm run publish to publish Reflare on Cloudflare Workers.

About

Minimal template to kickstart Reflare

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%