name | slug | description | framework | useCase | css | deployUrl | demoUrl |
---|---|---|---|---|---|---|---|
Next.js Hello World Edge API Routes |
edge-hello-world-nextjs |
A classic Hello World for the edge featuring Next.js. |
Next.js |
Edge Functions |
CSS Modules |
https://next-edge-api-route.vercel.app/api/edge - edge-hello-world - edge-query-parameters - edge-json-response |
A classic Hello World for the edge featuring Next.js.
https://next-edge-api-route.vercel.app/api/location
You can choose from one of the following two methods to use this repository:
Deploy the example using Vercel:
Execute create-next-app
with pnpm to bootstrap the example:
pnpm create next-app --example https://github.com/vercel/examples/tree/main/edge-functions/hello-world-next edge-hello-world-nextjs
Next, run Next.js in development mode:
pnpm dev
Deploy it to the cloud with Vercel (Documentation).