cc-backend/README.md

16 lines
439 B
Markdown
Raw Normal View History

2021-03-31 08:52:43 +02:00
# Run server
2021-03-31 08:56:36 +02:00
* The server expects the SQLite Job database in `job.db`.
* Run ```go run server.go```
* The GraphQL backend is located at http://localhost:8080/query/ .
2021-03-31 08:52:43 +02:00
2021-03-31 08:54:14 +02:00
# Debugging and Testing
There is a GraphQL PLayground for testing queries at http://localhost:8080/ .
2021-03-31 08:52:43 +02:00
# Changing the GraphQL schema
2019-04-29 10:26:20 +02:00
* Edit ```./graph/schema.graphqls```
* Regenerate code: ```gqlgen generate```
* Implement callbacks in ```graph/schema.resolvers.go```