sjkcdpc / reflare-template

πŸš€ The template to kickstart Reflare

Home Page:https://template.reflare.workers.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 wrangler

wrangler login

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

npm init cloudflare 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

https://template.reflare.workers.dev

License:MIT License


Languages

Language:TypeScript 100.0%