{"id":44022029,"url":"https://github.com/networkteam/go-apibackend-boilerplate","last_synced_at":"2026-02-07T16:36:13.580Z","repository":{"id":68425480,"uuid":"531161795","full_name":"networkteam/go-apibackend-boilerplate","owner":"networkteam","description":"Go backend boilerplate for a GraphQL API based on a CQRS architecture with lightweight ORM","archived":false,"fork":false,"pushed_at":"2025-01-29T16:42:33.000Z","size":1447,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-29T17:34:47.819Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/networkteam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-08-31T16:12:58.000Z","updated_at":"2025-01-29T16:42:37.000Z","dependencies_parsed_at":"2025-01-29T17:27:58.036Z","dependency_job_id":"50379155-8330-4254-9526-dfe5f0ad13ea","html_url":"https://github.com/networkteam/go-apibackend-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/networkteam/go-apibackend-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networkteam%2Fgo-apibackend-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networkteam%2Fgo-apibackend-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networkteam%2Fgo-apibackend-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networkteam%2Fgo-apibackend-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/networkteam","download_url":"https://codeload.github.com/networkteam/go-apibackend-boilerplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networkteam%2Fgo-apibackend-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29199916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T16:28:23.579Z","status":"ssl_error","status_checked_at":"2026-02-07T16:28:22.566Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-07T16:36:13.005Z","updated_at":"2026-02-07T16:36:13.575Z","avatar_url":"https://github.com/networkteam.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go API backend boilerplate\n\nThis is a boilerplate for creating a GraphQL API backend with Go.\nIt contains the setup for a monorepo application and is meant to be used as a starting point for creating a new project.\nBecause every project is different, all files can be freely changed to reflect the actual needs of the project.\nE.g. it might use organisations for a multi-tenant application and authentication needs might differ.\nThat's why a boilerplate can be better shaped and has fewer abstractions than using a modular framework.\n\n## Features\n\n* Lightweight CQRS architecture\n* Authentication\n* Authorization\n* GraphQL API with [gqlgen](https://gqlgen.com/)\n* Low abstraction persistence using [networkteam/construct](https://github.com/networkteam/construct/)\n* Database migrations with [pressly/goose](https://github.com/pressly/goose/)\n* Mail sending with templates\n* Fully testable with functional tests for API and database fixtures\n* HTTP server with graceful shutdown\n* OpenTelemetry instrumentation\n* Docker-less development setup with Devbox (Nix), optional\n\n## Usage\n\n* Checkout this Git repository\n* Run `./create.sh` in the repository root to create a new project based on this boilerplate\n\n**Example:**\n\n```sh\n./create.sh ../my-new-project com example myproject\n```\n\nThe arguments will be used to replace placeholders for package names and other identifiers in the boilerplate files.\n\n## Documentation\n\nSee [https://networkteam.github.io/go-apibackend-boilerplate/](docs) for more information about the code structure and development process.\n\nThe source for the documentation is part of the boilerplate and can be found in the `docs` directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetworkteam%2Fgo-apibackend-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetworkteam%2Fgo-apibackend-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetworkteam%2Fgo-apibackend-boilerplate/lists"}