Skip to content

cloudflare/devweek

Repository files navigation

Developer Challenges

A collection of example solutions for the Developer Challenges.

Throughout Developer Week, we have offered a series of challenges to give you the excuse – or nudge – you may have needed to play with Cloudflare's products.

Within this repository, you'll find example solutions for the challenges. Please note, these contents are meant to serve as reference material only. There are no right or wrong answers! The Developer Challenges were designed to be open-ended, so if your approach looks different – that's great!

Challenges

1A – Hello Worker

Example Solution: /challenges/1a-hello

Deploy your first Cloudflare Worker with Wrangler.

1B – Concert Promoter

Example Solution: TBA – Challenge lasts all week!

Music fans from all over the world visit your site to find the soonest concert nearest to their location. When your page is requested, render a list of upcoming events, reacting to the client's current location.

2 – Pick a Framework

Example Solution: signalnerve/my-nextjs-blog
Walkthrough: Deploy a Next.js Website with Pages

Choose your own framework and build a site for your blogs.

3 – Discord Bot

Example Solution: /challenges/3-discord

Build a Discord Bot with Cloudflare Workers and Workers KV.

4 – Random Rendering

Example Solution: /challenges/4-unsplash

Using the UnSplash API, render random images.

6 – Day and Night

Example Solution: /challenges/6-daynight

Display a different background photo or colour depending on the incoming request's location.

BONUS – Twilio Reminders

Example Solution: /challenges/bonus-reminders

Build a Reminders App using Cron triggers and the Twilio API.