A Next.js app that uses the Giphy API to search for GIFs and display them in a grid.
npm install
First, copy the example environment variables file:
cp .env.example .env.local
Then edit the .env.local
file and add your Giphy API key in there. You can get one here.
npm run build
npm start
You can now access the app at http://localhost:3000
- Next.js - React framework and server for API routes
- Tailwind CSS - CSS framework
- Giphy API - GIF search API
- Recoil - State management library
- SWR - Data fetching library