Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rafaelcarvalhocaetano/meetup
Meeting developed in Golang with GraphQL
https://github.com/rafaelcarvalhocaetano/meetup
crud golang graphql posgtresql
Last synced: about 2 months ago
JSON representation
Meeting developed in Golang with GraphQL
- Host: GitHub
- URL: https://github.com/rafaelcarvalhocaetano/meetup
- Owner: rafaelcarvalhocaetano
- Created: 2018-01-26T22:55:24.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-31T17:18:12.000Z (6 months ago)
- Last Synced: 2024-08-01T21:30:25.697Z (6 months ago)
- Topics: crud, golang, graphql, posgtresql
- Language: Go
- Homepage:
- Size: 5.38 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Meeting developed in Golang with GraphQL
## Run project
```bash
go mod tidy
``````bash
make server
```## For modifications
```bash
make graphl-generate
```## Query graphQL playground
```bash
query GeUserById {
user(id: "ecbbaab4-1550-4d2b-abf7-802298543e88") {
id
username
meetups {
id
name
description
}
}
}query GetMeetups {
Meetup {
id
name
description
user {
id
}
}
}mutation CreateMeetup {
createMeetup(input: {name:"meet xxxxx", description:"desc xxxxx"}) {
id
name
description
}
}mutation UpdateMeetup {
updateMeetup(id: "3eddf233-e996-4f02-9257-b389732fee3a", input: {name: "bbbb", description:"Desc Update"}) {
id
name
description
user {
id
username
}
}
}mutation DeleteMeetup {
deleteMeetup(id: "09acfb93-624d-4b19-96d6-9cf33b72d03d")
}```