Skip to content

A mini project made to learn GraphQL in a scalable manner

Notifications You must be signed in to change notification settings

tavistoica/GraphQL_Project

Repository files navigation

GraphQL & Node.JS coding exercise

An Apollo GraphQL server developed in Node.js. The project is structured in a scalable manner.

Tech

This project uses a number of open source libraries:

  • node.js - evented I/O for the backend
  • apollo-server - a community-maintained open-source GraphQL server
  • apollo-server-test - tooling to make testing easier to users of all of the apollo-server integrations
  • graphql - a query language for APIs created by Facebook.
  • graphql-tools - a set of utilities for faster development of GraphQL Schemas
  • mongoose - a set of utilities for generating MongoDB schemas
  • jest - a javascript testing library
  • eslint - a static code analyser library - manually configured to work with prettier

Installation

This project requires Node.js and MongoDB to be installed.

Install the dependencies and devDependencies and start the server.

$ npm install
$ npm start

Usage

To use the server, open the browser and go to http://localhost:3000 for the graphiql interface or send http requests.

To run the implemented integration tests, run:

npm test

About

A mini project made to learn GraphQL in a scalable manner

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published