- The backend is in the Vercel cloud, on a free tire plan.
- This repository contains all backend from the Blog project.
- GROQ is used to communicate with the database (GET).
- REST API is used to communicate with the database (POST, PUT and DELETE).
- SSR feature is used for Server Side Rendering.
- When pushing code to
main
branch, Vercel will automatically deploy the code to production cms.
- To run the project on localhost:
- Execute
npm install
in your terminal. - Rename
.env.SAMPLE
to.env
and update the values of the variablesNEXT_PUBLIC_SANITY_PROJECT_ID
,SANITY_API_TOKEN
,GOOGLE_CLIENT_ID
andGOOGLE_CLIENT_SECRET
. - Execute
npm run dev
in your terminal.
- Execute
- Pagination
- Improve the image update experience