An open API service indexing awesome lists of open source software.

https://github.com/omaraflak/graphql-mongodb

Simple server using GraphQL and MongoDB
https://github.com/omaraflak/graphql-mongodb

graphql graphql-server mongodb mutation nodejs query

Last synced: about 2 months ago
JSON representation

Simple server using GraphQL and MongoDB

Awesome Lists containing this project

README

        

# GraphQL-MongoDB Server

Simple server using GraphQL and MongoDB.

```
npm install
nodejs server.js
```

# Query

```
users: [user]
user(_id: String!): user
```

# Mutation

```
createUser(name: String!, age: Int!): user
```