Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ikramdeveloper/nextjs-graphql-blog

Repository files navigation

Next.js Blog with GraphQL

This is a blog application built with Next.js and GraphQL, enabling CRUD operations for managing blog posts.

Features

  • Create, Read, Update, and Delete blog posts
  • Next.js for server-side rendering and seamless page transitions
  • GraphQL for efficient data fetching
  • Responsive design for a great user experience on various devices

Getting Started

To run this project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/ikramdeveloper/nextjs-graphql-blog.git
  2. Navigate to the project directory:

    cd nextjs-graphql-blog
  3. Install dependencies

    npm install
  4. Set up the required environment variables. Create a .env file in the root directory and add the necessary variables. You can use the .env.example file as a template.

  5. Run the application:

    npm run dev

The application will be accessible at http://localhost:3000.

Technologies Used

This project makes use of the following technologies:

  • Next.js: A React framework for building web applications.
  • GraphQL: A query language for APIs, used here for efficient data fetching.
  • Zustand: A state management library for React applications.
  • Zod: A TypeScript-first schema declaration and validation library.
  • Redis: An in-memory data structure store used as a caching mechanism.
  • Mongoose: A MongoDB object modeling tool designed to work in an asynchronous environment.
  • @typegoose/typegoose: A TypeScript library that allows you to define Mongoose models using TypeScript classes.
  • @tanstack/react-query: A data-fetching library for React applications that makes server state management simple and scalable.
  • React Hook Form: A library for managing forms in React applications.
  • Tailwind CSS: A utility-first CSS framework for rapidly building custom designs.

Acknowledgment

This project was built with the help of nextjs-typegraphql repo

Author Links

πŸ‘‹ Hello, I'm Ikram Ul Haq - Web Developer & Programmer

β˜• Buy Me A Coffee

πŸš€ Follow Me:

About

Blog CRUD operations using NextJS (TypeScript) with GraphQL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /