/GraphQL

Primary LanguageJavaScript

GraphQL Server with Node.js and Express

Simple GraphQL Project with Node.js and Express using MongoDB as database.

Usage

Install

  1. Install Docker for your operating system.
  2. Install the Docker Compose tool.
  3. Run docker-compose
docker-compose up -d --build

This will start backend, frontend and MongoDB.

Quick Start

# Install dependencies for server
cd server
npm install

# Install dependencies for client
cd client
npm install

# Run the Express server only
npm run dev

# Run the React client only
npm run start

# Server runs on http://localhost:8080 and client on http://localhost:3000