Download the superhero-app
directory. Click here to download it.
Unzip the downloaded file and navigate to the working directory.
bash
cd RapidAPI\ DevRel-Examples-External\ main\ superhero-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.
Are you a Marvel enthusiast or a DC lover? Are you also a developer who likes superheroes? Let’s build an app together using an API from RapidAPI Hub where people can search for their favorite heroes.