An open API service indexing awesome lists of open source software.

https://github.com/dev-shimada/gqlgen-todos


https://github.com/dev-shimada/gqlgen-todos

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# gqlgen-todos
- https://gqlgen.com/getting-started/

## Run server
```console
go run server.go
```

## Browser tool
- http://localhost:8080

## Creating todo
```graphql
mutation createTodo {
createTodo(input: { text: "todo", userId: "1" }) {
user {
id
}
text
done
}
}
```

## Query todo
```graphql
query findTodos {
todos {
text
done
user {
name
}
}
}
```