enniob / nodejsapollographql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GraphQL Server with Apollo and Express

This repository contains a GraphQL server built using Apollo Server v4 and Express. It demonstrates basic GraphQL operations such as queries and mutations.

Features

  • Apollo Server v4 integration with Express.
  • Basic GraphQL schema with queries and mutations.
  • Separated files for type definitions and resolvers for better code organization.

Prerequisites

Before running this application, make sure you have the following installed:

  • Node.js
  • npm (Node Package Manager)

Installation

  1. Clone the repository: git clone https://github.com/enniob/nodejsapollographql.git

  2. Navigate to the project directory: cd nodejsapollographql

  3. Install dependencies: npm install

Running the Application

  1. Start the server: npm start

This will start the GraphQL server on http://localhost:4000.

  1. Access the GraphQL playground in your web browser: http://localhost:4000

About


Languages

Language:TypeScript 100.0%