Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 770 Bytes

README.md

File metadata and controls

32 lines (17 loc) · 770 Bytes

fold

Serveless service - Cloudflare Worker


This worker was bootstrapped using worker brick and configured with wrangler CLI. You can install it via NPM: npm install -g wrangler

Development

Run the local server via npm run start

Deploy

Setup worker environment variables with the following one-line:

IFS='='; ENV_FILE=.dev.vars; cat $ENV_FILE | while read line || [[ -n $line ]]; do read -ra envy <<< $line; wrangler secret put ${envy[0]} <<< ${envy[1]}; done

Deploy to Cloudflare via npm run deploy

Contact

This template was prepared by:

  • João Freitas, @freitzzz
  • Rute Santos, @rutesantos4

Contact us if you need help on your project!