Medium homepage clone for the purpose of practicing next.js, tailwind css and sanity cms
You can view the project by clicking here here
Admin Painel - here
Front-end: Next.js, TailwindCSS
Back-end: Sanity.IO
git clone https://github.com/alysonfarias/Medium-Clone.git
How posts are consumed through CMS Sanity.Io and if you want with your own cms blog
You will need to have a .env.local file in the project root with the following variables:
NEXT_PUBLIC_SANITY_DATASET= dataSetType -> production, developmnt
NEXT_PUBLIC_SANITY_PROJECT_ID= projectId
where you can get it on Sanity.io for free here and your also gonna need re-config the folder 'dbmedium' where after that just go through cd [folderName] to acess painel
sanity start
and now you can see your pannel running on http://localhost:3333
to see the front-end clone
npm run dev
gonna be running on http://localhost:3000
If you have any feedback, please let me know via ramos.alysonfarias@gmail.com