Skip to content

jenniekibiri/Graphql-react-node-mongo-apollo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Graphql-react-node-mongo-apollo

A full stack bookstore application

Nodejs

Graphql

MongoDB

React

Apollo client

How to run cd client

npm install

npm start

cd server

npm install

npm start

graphql basics chrome graphiql tool react-apollo node mongo

mutation{
  addBook(name:"the tales of kenyan njahi",genre:"African tale",authorId:"6134d545dc4ac474323b0000"){
    name
    genre

  }
}
 ### queries

{
  books{
    name
    genre
  }
}
{
  authors{
    name
    age
  }
}
{
  author(id:"6134d545dc4ac474323b0000"){
    name
    
  age
    books{
      name
    }
  }
}

About

Graph-QL react node mongo- apollo bookstore app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published