Skip to content

teguhwin8/nextjs-blog-hygraph

Repository files navigation

Blog with NextJS and HyGraph

This is a Blog created with NextJS as Frontend and HyGraph as Headless CMS.


How to use:


Install deppendencies

npm install

Make file .env.local and add your GraphCMS Endpoint.

NEXT_PUBLIC_GRAPHCMS_ENDPOINT=your_graphcms_endpoint
NEXT_PUBLIC_BASE_URL=http://localhost:3000

Run Application

npm run dev



The Datamodel I used in GraphCMS:

Author

Category

Comment

Post