

this project will provide the idea about how developer handle the one to many and many to many relation graphql's type using mongoose and graphql-express.This Project will also show the path how to build better web service structure using graphql with express js. create the example which provides CRUD operation functionality with tow mongodb collections with one to many relation. Last tow week ago, I think about some idea about how i connect the mongodb with graphql using express js as web server. So I am tried to read those blogs and graphql documentation again and again. Some blog are provide simple example with one graphql's type. Most of the author provide the example or tutorial which graphql is related to static json data. Over the past two month, I tried to learn about graphql and graphql connection with database using express js. GraphQL provide official middleware for express server named express-graphql. It also support the data manipulation and modification functionlaity named mutation Like rest api.

It allows clients Query with flexible data structure which are required for client. GraphQL is alternative of REST full web service. GraphQL developed by Facebook in 2012 and publicly available in 2015. GraphQL practical example with express-graphql and mongoose
