name | slug | description | framework | useCase | css | deployUrl | demoUrl |
---|---|---|---|---|---|---|---|
Edge API Route |
edge-api-route |
Build your API using Vercel Edge Functions. |
Next.js |
Edge Functions |
None |
Build your API using Vercel Edge Functions.
https://edge-api-route.vercel.app/api/edge
You can choose from one of the following two methods to use this repository:
Deploy the example using Vercel:
Execute create-next-app
with npm or Yarn to bootstrap the example:
npx create-next-app --example https://github.com/vercel/examples/tree/main/edge-api-routes/hello-world edge-api-route
# or
yarn create next-app --example https://github.com/vercel/examples/tree/main/edge-api-routes/hello-world edge-api-route
Install the Vercel CLI:
npm i -g vercel
Then run the app at the root of the repository:
vercel dev