mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-23 21:01:40 +02:00
Update README.md
This commit is contained in:
10
README.md
10
README.md
@@ -1,9 +1,9 @@
|
|||||||
# Setup
|
# Run server
|
||||||
|
|
||||||
|
* ```go run server.go```
|
||||||
|
|
||||||
|
# Changing the GraphQL schema
|
||||||
|
|
||||||
* Edit ```./graph/schema.graphqls```
|
* Edit ```./graph/schema.graphqls```
|
||||||
* Regenerate code: ```gqlgen generate```
|
* Regenerate code: ```gqlgen generate```
|
||||||
* Implement callbacks in ```graph/schema.resolvers.go```
|
* Implement callbacks in ```graph/schema.resolvers.go```
|
||||||
|
|
||||||
# Run server
|
|
||||||
|
|
||||||
* ```go run server.go```
|
|
||||||
|
Reference in New Issue
Block a user