Skip to content

GraphQL API Task Management

Hanish edited this page Nov 11, 2024 · 1 revision

Project Setup

1. Setup the Project Environment

  1. Install Node.js

  2. Create a New Project Folder
    Open a terminal and run the following commands to create and initialize your project:

    mkdir graphql-task-manager
    cd graphql-task-manager
    npm init -y
  3. Install Dependencies
    Install the required Node.js packages by running:

    npm install express express-graphql graphql
    • express: For creating the web server.
    • express-graphql: Middleware to connect GraphQL with Express.
    • graphql: For defining schemas, queries, and mutations.

Clone this wiki locally