Thanks to visit codestin.com
Credit goes to github.com

Skip to content

dotexe0/graphql-fullstack-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

GraphQL

A graphql full stack example on how to connect a UI to an API

UI

cd ui
npm install
npm start

navigate to localhost:4000

API

cd api
npm install
npm start

navigate to localhost:4000

example queries:

query getLifts {
  allLifts {
    id
    name
    status
  }
}

mutation setLiftStatus {
  setLiftStatus(id:"astra-express" status:HOLD) {
    status
  }
}

About

a graphql full stack example for a medium article

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors