Develop a blog application with a NextJS for users to view posts and a Hygraph CMS(GraphCMS) interface for authorized users to create, edit, and publish blog posts.
To run this project, you will need to add the following environment variables to your .env.local file after cloning the project and going to the project directory
NEXT_PUBLIC_HYGRAPH_URL=https://api-ap-south-1.hygraph.com/v2/cluc7zdy5098v07weub3e9q0h/master
Clone the project
git clone https://github.com/Aniket-Pilankar/Blog-Application-CMS.git
Go to the project directory
cd Blog-Application-CMS
Install dependencies
npm install
Start Next.js in development mode (option 1)
npm run dev
OR
Start Next.js in production mode (option 2)
npm run build
npm start
The project is already deployed on Vercel (Click below link)
-
Functionality Overview: Blog App CMS is a Next.js-based blog website, chosen for its ideal framework for creating blog websites with built-in pre-rendering for SEO optimization and faster site loading.
-
Content Management: Authorized users can create, edit, and publish blog posts using HygraphCMS. Users can view these published posts on the website.
-
Responsive Design: The Blog App CMS website is built using responsive design, ensuring compatibility with all screen sizes.
-
Category Feature: Users can read blogs from the homepage and can also filter blog posts by category (e.g., web development, music). Categories are added when an authorized user publishes a blog, and all available categories are listed on the Blog App CMS page.
-
Blog Details Page: Clicking on a blog post directs users to the Blog-details page, providing a detailed view of the blog post.
-
Rich Text Editing: Authorized users can format text to bold, italic, embed video iframes from YouTube, add code snippets, and tables in the blog posts.
-
Efficient Data Fetching: With GraphQL, you can fetch only the data you need for a particular view, reducing over-fetching and improving performance.
Client: NextJS (React framework), TailwindCSS, Graphql, graphql-request, flowbite-react
Server: HygraphCMS (GraphCMS)