A web application that allows to query programmers with their skills via a GraphQL API. The application is implemented with Go and gqlgen on the backend side and React on the front end side. MongoDB is used as a database.
You need to have Docker and Docker Compose installed. No additional tools required.
Perform
docker-compose up
Access the application via http://localhost:8080. Access the GraphQL Playground using http://localhost:8080/playground.
The database starts with a preloaded set of data which can be customized in the mongo.init file.
Here is an example of a GraphQL query which can be run in the Playground:
query {
programmers(skill: "go") {
name,
picture,
title,
company,
skills {
name,
icon,
importance
}
}
}