Build your API using Vercel Edge Functions.
https://edge-api-routes-json-response.vercel.app/api/edge
You can choose from one of the following two methods to use this repository:
Deploy the example using Vercel:
Install the Vercel CLI:
npm i -g vercel
Then run the example at the root of the repository:
vercel dev