Deploy Link - https://medium-clone-jet-phi.vercel.app/
Steps for running this project on your local machine -
- Run
yarn install
inroot
and/medium-clone
folder. - Create
.env.local
file inroot
folder and add these 3 variables -- NEXT_PUBLIC_SANITY_DATASET=production (from
sanity.json
file) - NEXT_PUBLIC_SANITY_PROJECT_ID=rbr20nbc (from
sanity.json
file) - SANITY_API_TOKEN = (generate this by signing up on sanity.io)
- NEXT_PUBLIC_SANITY_DATASET=production (from
- Install sanity-cli globally -
npm install -g @sanity/cli
- Run
sanity start
in/medium-clone
folder. - Run
yarn run dev
inroot
folder.
Languages And Tools Used -
- React
- TypeScript
- Next.js
- Tailwind CSS
- Sanity.io CMS