Download the url-shortner-app directory. Click here to download it.
Unzip the downloaded file and navigate to the working directory.
bashcd RapidAPI\ DevRel-Examples-External\ main\ url-shortner-app/
Install dependencies
bashnpm install
Create .env file in root and add your variables
bashNEXT_PUBLIC_RAPID_API_KEY=YOUR_RAPID_API_KEY
Run the app
bashnpm run dev
You are all set! Open localhost:3000 to see the app.