A Next.js application to display gifs from Giphy Api based on search of user.
Next.js, React, HTML, SCSS, Bootstrap
Deployed on Vercel - https://giphy-search-eight.vercel.app/
Go to the project directory
cd giphy_search
Install dependencies
npm install
Start the server
npm run dev
Server will be running on http://localhost:3000/
you will need to add the following environment variables to your .env.local file
API_URL = "http://localhost:3000"
GIPHY_API_KEY = ""
FIREBASE_API_KEY = ""
FIREBASE_AUTH_DOMAIN = ""
FIREBASE_PROJECT_ID = ""
FIREBASE_STORAGE_BUCKET = ""
FIREBASE_MESSAGING_SENDER_ID = ""
FIREBASE_APP_ID = ""
JWT_SECRET = "your_secret"
- Firebase Authentication to access Search Page
- Click on GIF to copy URL
- Mark GIF as favourite
- Favourite section to see marked GIF's
- Loading animations and alerts
- Seure API
- clean Code
POST /api/signup
Body | Type | Description |
---|---|---|
name |
string |
Required. Name |
email |
string |
Required. Email |
password |
string |
Required. Password |
POST /api/login
Body | Type | Description |
---|---|---|
email |
string |
Required. Email |
password |
string |
Required. Password |
GET /api/giphySearch
Returns the gif data for searched query
Parameter | Type | Description |
---|---|---|
searchTerm |
string |
Required. Search string |
GET /api/verify
Headers | Type | Description |
---|---|---|
authorization |
string |
Required. jwt token |