GraphQL demo
How to start?
- yarn install
- yarn dev # start server
- yarn json # start API and DB
API is on http://localhost:3000/users Query page is on http://localhost:4000
Example Query
{ user(id: "40"){ id, firstName company{ id name } } }
mutation{ addUser(firstName: "Stephen", age: 24){ id age } }