github.com/wundergraph/graphql-go-tools/examples/chat
Readme
go mod download
npm i
chmod +x start-server.sh
./start-server.sh
npm run start
Example is forked from: gqlgen
mutation SendMessage {
post(roomName: "#test", username: "me", text: "hello!") {
...MessageData
}
}
query GetMessages {
room(name:"#test") {
name
messages {
...MessageData
}
}
}
subscription LiveMessages {
messageAdded(roomName: "#test") {
...MessageData
}
}
fragment MessageData on Message{
id
text
createdBy
createdAt
}
FAQs
Unknown package
We found that github.com/wundergraph/graphql-go-tools/examples/chat demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.