Sample applications that implement GraphQL to communicate with MongoDB.
-
Basic
Test programs that retrieve/add/remove data from/to MongoDB with GraphQL, working from terminal. -
Express
Runs Express-GraphQL API server. You can send query requests from GraphiQL. -
React
In addition toExpress
, comes along with front-end React application that retrieves/adds/removes data through GraphQL API server, sending HTTP query requests from browser.
Tutorials are available at…
- GraphQL + MongoDB: Basic – Query
- GraphQL + MongoDB: Basic – Mutation
- GraphQL + MongoDB: Express
- GraphQL + MongoDB: React
Inside brackets() are the versions at which the developer tested the codes.
- Node.js/NPM (8.9.4/5.6.0)
- MongoDB (3.4.4)
- Yarn (1.3.2)