Skip to content

cloudflare-developers-community/developer-summer-challenge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudflare Summer Challenge

https://challenge.developers.cloudflare.com/

Setup

$ npm install
# or
$ pnpm install
# or
$ yarn install

Development

The application is split into two separate components, (currently) requiring two separate development workflows:

Client

Ideal for HTML/CSS/JS development. Spawns a live-reload development server:

$ npm run html dev

This will watch the /src directory for any file changes, automatically reloading the localhost:8080 server.

Worker

You should already have wranger installed. Start a development server via:

$ wrangler dev

This will watch the /worker directory for any file changes, automatically reloading the localhost:8787 server. Note: Any changes to /src contents will not be reflected until /worker contents change.

Deployment

Wrangler is already configured to build the HTML/client files before building the Worker itself. By default, everything will be built before uploading any assets to Cloudflare:

$ wrangler publish

Releases

No releases published

Packages

No packages published

Languages

  • HTML 69.1%
  • JavaScript 11.4%
  • Stylus 11.0%
  • TypeScript 8.5%