First NodeJS GraphQL
Good example for starter and learning GraphQL + NodeJS easily and fastly. (Just in 10 minutes)
If you would like to read more, you can check out official documentation at here.
Using
$ yarn install
$ yarn start
Then open: http://localhost:5000/graphql/?query=%7B%0A%20%20books%20%7B%0A%20%20%20%20id%2C%0A%20%20%20%20name%0A%20%20%7D%0A%0A%7D
Examples
List of all books id and name
{
books {
id,
name
}
}
List of authors and their books
{
authors {
id
name
books {
name
}
}
}
Similar Repository
References
- https://graphql.org/graphql-js/running-an-express-graphql-server
- https://github.com/graphql/express-graphql
- https://www.youtube.com/watch?v=n1mdAPFq2Os
- https://www.youtube.com/watch?v=YBydg_Ui02Q
- https://www.youtube.com/watch?v=ZQL7tL2S0oQ
Max Base
My nickname is Max, Programming language developer, Full-stack programmer. I love computer scientists, researchers, and compilers. (Max Base)
Asrez Team
A team includes some programmer, developer, designer, researcher(s) especially Max Base.