A place where I can play around with GraphQL in node
Before you do anything else, run npm i
npm run server
- Open your browser to http://localhost:4000/graphql
- make a query against the schema. This one should work:
query starWarsCharacter {
character(id: 1) {
name
gender
height
hair_color
films
}
}
npm run dev
- Open your browser to
http://localhost:3000