A starter template for building Cloudflare Workers
This project is built with Wingman.
Wingman is an opinionated starter template for building Cloudflare Workers. It includes a set of my personal preferences when building projects using Cloudflare Workers.
Cloudflare Workers are great for building small APIs to complement a bigger project. A wingman to your project, if you will.
You don't have to limit yourself to a "small" project. You can use Cloudflare WWorker to build a full-stack application, either using what's already included here (like Hono + HTMX) or using something like Next.js with next-on-pages.
- Hono as our web framework
- Zod for validation
- Biome for formatting and linting
- Drizzle as the ORM for your D1 database (if needed)
- Vitest for testing
...plus everything else that is included in the Cloudflare Workers ecosystem:
- D1 for your database
- R2 for storing files
- KV for storing a low-latency key-value store
- Durable Objects for coordinating stateful tasks
- Queues for message queues
- AI for building AI applications
- Vectorize for semantic search and vector embeddings
- Add a setup script