Download the text-extraction-app
directory. Click here to download it.
Unzip the downloaded file and navigate to the working directory.
bash
cd RapidAPI\ DevRel-Examples-External\ main\ text-extraction-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.
Sometimes you only want to see the content of a particular website. Maybe you are reading, and you don’t want to get distracted by ads or other parts of the website. Let’s build a text extraction application in this piece.