An implementation of Wordle to help
you learn Next.js and Vercel.
Demo: https://wordledge.vercel.app
To develop locally:
npm run dev
In pages/middleware.ts we implement the /check endpoint which gets deployed to all Vercel
regions automatically and has no cold boots. Any time you submit, we make a query against /check.
Users get automatically routed to the nearest region. Read more about Edge Functions.
Note: Soon, for ergonomic reasons, Next.js will help you run api/check as an Edge Function as well.
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.