Start the chat server:
cd chat
go mod download
go run server/server.go
Playground running on: http://localhost:8085
Start wundergraph:
npm install && npm start
curl -N http://localhost:9991/operations/Chat
curl -N http://localhost:9991/operations/users/get?id=1
Go to the playground and run the following query:
mutation SendMessage {
post(roomName: "test", username: "me", text: "hello!") {
id
text
}
}
Read the Docs.
Join us on Discord!