This is a simple counter app built with vanilla JavaScript and Cloudflare Workers and Cloudflare Durable Objects. It maintains state for a poll where users increment and decrement a counter value.
Built w/ Cursor/Claude-3.5-Sonnet ❤️
Clone the repository:
git clone https://github.com/elizabethsiegle/jfokus-counter.git
Install dependencies:
npm install
Configure your Cloudflare credentials:
wrangler login
Run the development server:
npm run dev
Deploy to Cloudflare Workers:
npm run deploy