Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rishabh-pandey-sternx/graphql-express-mongodb

GraphQL server on Node using Express and connect to Mongo DB using Mongoose.
https://github.com/rishabh-pandey-sternx/graphql-express-mongodb

graphql graphql-express-mongodb graphql-playground graphql-server mongo-db mongodb mongoose playground

Last synced: about 2 months ago
JSON representation

GraphQL server on Node using Express and connect to Mongo DB using Mongoose.

Awesome Lists containing this project

README

        

# GraphQL MongoDB Express Server

GraphQL server on Node using Express and connect to Mongo DB using Mongoose.

### Important Files and Folders

|File/Folder|Description|
|-----------|-----------|
|**index.html**| The main HTML file|
|**index.js**| GraphQL Express Server|
|**graphql**| Folder related to graphQL Schema.|
|**model**| Folder related to Mongoose(mongodb) *Schema* and *Model*|

* Run ``` npm start ``` to start dev mode .

* Once the server is up, go to browser and run http://localhost:3000/.

## Todo

* Write Gulp task for build in production
* use Express Middlewares (Passport , cors , multer etc .)
* Use MongoDb geospatial query with graphQl
* Make it CRUD .
* Add more query, mutation , subscription with GrahQl.