vitordevsp / examples-edge-functions

Home Page:https://examples-edge-functions.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Next.js Hello World Edge API Routes

A classic Hello World for the edge featuring Next.js.

Demo

https://next-edge-api-route.vercel.app/api/location

How to Use

You can choose from one of the following two methods to use this repository:

One-Click Deploy

Deploy the example using Vercel:

Deploy with Vercel

Clone and Deploy

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).

About

https://examples-edge-functions.vercel.app


Languages

Language:JavaScript 51.8%Language:CSS 35.6%Language:TypeScript 12.6%