- Clone the repo and open the folder
cd search-api
- Run setup.sh to set up certificates
source setup.sh
- Run the file server.go
go run server.go
- Open the graphql link in browser.
- Issue a search query in the input. Example:
query{
search(input: [
{
filters: [
{
property: "kind",
values:[ "pod" ]
}
],
}
]) {
related{
kind
count
}
count
}
}
And the output appears on the right hand side.