- Clone the repository
git clone https://github.com/Nilanth/twiter-stats.git
- Change the working directory
cd twiter-stats
- Install dependencies
yarn install
- Create
.env
file 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 dev
You are all set! Open localhost:3000 to see the app.