-
Go to: http://localhost:8088/altair on Chrome or Edge
-
Enter the URL: http://localhost:8088/api/graphql into the Altair URL bar (not the browser url bar).
-
mutation {
addAccount(name: "john", balance: 32)
}
mutation {
debitAccount(name: 0, amount: 35)
}
query {
account(account: 0) {
name
accountNumber
balance
openedOn
}
}
query {
account(name: "john") {
name
accountNumber
balance
openedOn
}
}
subscription {
accountEvents
}