Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sijad/gentle
simple, fast, code-first GraphQL server
https://github.com/sijad/gentle
code-first golang graphql-api graphql-schema graphql-server
Last synced: about 1 month ago
JSON representation
simple, fast, code-first GraphQL server
- Host: GitHub
- URL: https://github.com/sijad/gentle
- Owner: sijad
- License: mit
- Created: 2020-05-10T13:12:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-21T16:10:28.000Z (over 3 years ago)
- Last Synced: 2024-09-27T21:40:58.246Z (about 2 months ago)
- Topics: code-first, golang, graphql-api, graphql-schema, graphql-server
- Language: Go
- Homepage:
- Size: 184 KB
- Stars: 8
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
🚧🚧 this is pre-alpha software 🚧🚧
Gentle
Fast, simple, type-safe, code-first GraphQL framework.### Quick Start
it's recommended to install Gentle using [Go modules](https://github.com/golang/go/wiki/Modules#quick-start).
1. `go get github.com/sijad/gentle/cmd/gentc` to install Gentle
2. `go run github.com/sijad/gentle/cmd/gentc init` to initialize a GraphQL project
3. Make changes to GraphQL schema at `./graph/schema/`
4. `go generate graph/generate.go` to generate Graph codes
5. Run `go run server.go`### Credits
inspired by [Nexus](https://www.nexusjs.org/), [PostGraphile](https://www.graphile.org/postgraphile/) and [gqlgen](https://gqlgen.com/)