Federated graphQL sub-graph written schema-first with gqlgen. This service exposes queries for technologies.
This service makes heavy use of docker and docker compose. Setting up docker is beyond the scope of this readme.
mkdir ~/projects/dudo-website
cd ~/projects/dudo-website
git clone [email protected]:dudo-website/tech-service.git
cd ~/projects/dudo-website/tech-service
docker compose up -d
gqlgen provides a schema-first approach to graphQL development. Start with ./graph/schema.graphqls
, and modify the schema as necessary.
To generate code:
docker compose run --rm gen
This should be done for you via CI/CD, but in case you need to manually push an image
docker build -t docker.pkg.github.com/dudo-website/tech-service/tech-service:0.1.0
docker push docker.pkg.github.com/dudo-website/tech-service/tech-service:0.1.0
Learn about the various tech powering this application: