GithubHelp home page GithubHelp logo

ikramdeveloper / nextjs-graphql-blog Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 187 KB

Blog CRUD operations using NextJS (TypeScript) with GraphQL

Home Page: https://nextjs-graphql-blog-ochre.vercel.app

TypeScript 98.73% JavaScript 1.10% CSS 0.16%
nextjs-graphql-mongodb nextjs-tailwindcss-typescript nextjs-typescript

nextjs-graphql-blog's Introduction

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:

nextjs-graphql-blog's People

Contributors

ikramdeveloper avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.