diff options
author | 2020-05-31 20:05:09 +0200 | |
---|---|---|
committer | 2020-06-01 18:25:42 +0200 | |
commit | c4f773c87d0c079e668da65027183def598480bb (patch) | |
tree | 20fa803f170c12e664187b00c5d256b09d854be4 /go.mod | |
parent | Remove outdated feed templates (diff) | |
download | soko-c4f773c87d0c079e668da65027183def598480bb.tar.gz soko-c4f773c87d0c079e668da65027183def598480bb.tar.bz2 soko-c4f773c87d0c079e668da65027183def598480bb.zip |
Add a graphql api
So far the application had no standardized
api. Instead there have been different json
endpoints on different locations which were
mostly taken over from kkuleomi for backwards
compability.
Now a graphql api has been added at /api/graphql
For more information about graphql, please refer
to https://graphql.org/
Using the graphql api it's possible to access
all of the data that is present in the postgres
database.
Documentation for the api will follow.
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3,8 +3,10 @@ module soko go 1.13 require ( + github.com/99designs/gqlgen v0.11.3 github.com/go-pg/pg v8.0.6+incompatible github.com/go-pg/pg/v9 v9.1.3 github.com/gorilla/feeds v1.1.1 github.com/mcuadros/go-version v0.0.0-20190830083331-035f6764e8d2 + github.com/vektah/gqlparser/v2 v2.0.1 ) |