A WIP self hosted photo server in golang with a corresponding mobile app.
cmd | ||
docs/schema | ||
graph | ||
internal | ||
plugin | ||
web_native | ||
.gitignore | ||
go.mod | ||
go.sum | ||
gqlgen.yml | ||
README.md |
#uImagini
Running Server
# cd ./cmd/
CONFIG_PATH=$(pwd) DATA_PATH=$(pwd) go run main.go serve
Generate GraphQL Models
# cd ./cmd/
go run github.com/99designs/gqlgen generate
go run main.go generate
Generate GraphQL Documentation
# From app root
graphdoc -e http://localhost:8484/query -o ./docs/schema
Server Build
Flutter Build
flutter run
Generate GraphQL Flutter Models
flutter pub run build_runner build