Next.js based web app that authenticates user and lists all of it's shots with the help of Dribble API.
http://peerlist-assignment-rose.vercel.app/
Clone the project
git clone https://github.com/saurabh-619/peerlist
Go to the project directory
cd peerlist
Install dependencies
yarn install
Start the app
yarn dev
https://dribbble.com/account/applications/new
GET https://dribbble.com/oauth/authorize
Parameter | Type | Description |
---|---|---|
client_id |
string |
Required. Your Client Id |
POST https://dribbble.com/oauth/token
Parameter | Type | Description |
---|---|---|
client_id |
string |
Required. Your Client Id |
client_secret |
string |
Required. Your Client secret |
code |
string |
Required. Code after authentication |
GET https://api.dribbble.com/v2/user/shots
Parameter | Type | Description |
---|---|---|
access_token |
string |
Required. Your access token |
To run this project, you will need to add the following environment variables to your .env.local file
NEXT_PUBLIC_CLIENT_ID
DRIBBBLE_CLIENT_ID
DRIBBBLE_CLIENT_SECRET
TESTING_ACCESS_TOKEN
Client: Next.js SSR, TailwindCSS
Server: Dribbble API