Skip to content

akumar2334/GraphQL-with-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL Simple Todo App with user

Overview

This project demonstrates a basic GraphQL API built with Node.js, Express, and Apollo Server. It integrates with the JSONPlaceholder API to manage and fetch Todos and User data.

Features

  • GraphQL Schema: Includes types for User and Todo.
  • Queries: Fetch Todos, all users, and individual user details.
  • Resolvers: Connects to the JSONPlaceholder API to retrieve data.

Project Structure

  • Type Definitions (typeDefs): Defines the GraphQL schema.
  • Resolvers: Handles the logic for querying data.
  • Express Middleware: Integrates Apollo Server with Express for GraphQL endpoint.

Getting Started

Prerequisites

  • Node.js (v14.x or later)
  • npm or yarn

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors