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.
- GraphQL Schema: Includes types for
UserandTodo. - Queries: Fetch Todos, all users, and individual user details.
- Resolvers: Connects to the JSONPlaceholder API to retrieve data.
- Type Definitions (typeDefs): Defines the GraphQL schema.
- Resolvers: Handles the logic for querying data.
- Express Middleware: Integrates Apollo Server with Express for GraphQL endpoint.
- Node.js (v14.x or later)
- npm or yarn