Live version: https://nextjs-giphy.vercel.app/
- Reactjs / Nextjs
- Javascript / Typescript
- CSS / SASS
- Material UI
Clone this repo:
git clone [email protected]:brandon-gs/nextjs-giphy.git
cd nextjs-giphy
Install dependencies:
yarn
Config the .env.development.local file with the correct values
cp .env.example .env.development.local
Run the project
yarn dev
Variable name | |
---|---|
GIPHY_KEY | GIPHY API Key required to make requests to the GIPHY API. (required) |
I use nextjs api routes as proxy to consult giphy api. For security reasons I can hide the GIPHY_KEY from the client and all the requests the client would make.