Skip to content

Sample example how to use express nodejs with mongodb and expose via Graphql Schema approach

Notifications You must be signed in to change notification settings

harish2296/nodejs-mongodb-graphql

Repository files navigation

nodejs-mongodb-graphql

Sample example how to use express nodejs with mongodb and expose via Graphql Schema approach

#Express server

  • Uses mongoose singleton connection to mongoDb
  • Uses GraphQL for it's schema aprroach input and exposed as GraphQL Schema Type
  • Model Objects for two sample collections
  • Run the server see the RootQuery (test-query) file and check the sample payload need to be given

About

Sample example how to use express nodejs with mongodb and expose via Graphql Schema approach

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published