apollo-graphql simple nodejs graphql server application all the schema is defined in typeDef data model in models two simple data model added : post and author install dotenv and add your local mogodb link or mogodb atlas link in the file