Download the qrcode-generator-app
directory. Click here to download it.
Unzip the downloaded file and navigate to the working directory.
bash
cd RapidAPI\ DevRel-Examples-External\ main\ qrcode-generator-app/
Install dependencies
bash
npm install
Create .env.local
file in root and add your variables
bash
NEXT_PUBLIC_RAPIDAPI_KEY=YOUR_RAPID_API_KEY
Run the app
bash
npm run dev
You are all set! Open localhost:3000 to see the app.
QR codes allow you to share information quickly and seamlessly. They are used everywhere, from payment portals to social apps like Snapchat and WhatsApp. Let’s build an app that will generate a QR code for a given input.