- Clone the repository
git clone https://github.com/Nilanth/twiter-stats.git- Change the working directory
cd twiter-stats- Install dependencies
yarn install- Create
.envfile in root and add your variables
TWITTER_ID=
TWITTER_SECRET=
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=Get TWITTER_ID and TWITTER_SECRET from the Twitter Developer Platform with a few simple steps using this link.
- Run the app
yarn run devYou are all set! Open localhost:3000 to see the app.