An Apollo GraphQL server developed in Node.js. The project is structured in a scalable manner.
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
This project requires Node.js and MongoDB to be installed.
Install the dependencies and devDependencies and start the server.
$ npm install
$ npm startTo 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