Basic GraphQL
This is an easy, basic and raw (no styles attached) example of HOW to implement Apollo GraphQL
Installation
npm install
Running the server
Development
npm run dev
Production
npm start
Playground
(dev) or querying.
Interacting with the Query:
query {
luckyNumber
}
Returns:
{
"data": {
"luckyNumber": "Your lucky number is 97"
}
}