A simple greeting api
> go run main.go
...
listening on :8080
> curl -s http://localhost:8080 | jq
{
"greeting": "Hello"
}
Website located in the website/ directory
Dagger functions:
Name Description
build Build the backend and frontend for a specified environment
check Run the CI Checks for the project
debug-broken-tests-pr Debug broken tests on a pull request and comment fix suggestions
debug-tests Debug broken tests. Returns a unified diff of the test fixes
lint Lint the Go code in the project
release Create a GitHub release
serve Serve the backend and frontend to 8080 and 8081 respectively
test Run unit tests for the project