An example of an edge function ths runs in Vercel. This edge function is called using api/api
and returns a random Chuck Norris joke. The API demonstrates how to create a edge side function using vanilla javascript5 that is hosted in Vercel
The chuck norris API the function is calling can be found here: https://api.chucknorris.io
Start the dev environment. Install Vercel CLI
npm run start
👾☄️👻👺🕹️