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
- Host: GitHub
- URL: https://github.com/omaraflak/graphql-mongodb
- Owner: omaraflak
- Created: 2018-04-26T20:10:08.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-26T20:16:25.000Z (about 7 years ago)
- Last Synced: 2025-02-12T03:19:44.171Z (3 months ago)
- Topics: graphql, graphql-server, mongodb, mutation, nodejs, query
- Language: JavaScript
- Size: 2.24 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```