{"id":36485091,"url":"https://github.com/commitdev/zero-backend-go","last_synced_at":"2026-01-12T01:47:22.624Z","repository":{"id":38999998,"uuid":"257676371","full_name":"commitdev/zero-backend-go","owner":"commitdev","description":"A zero module containing a backend that can be deployed to the infrastructure set up using zero-aws-eks-stack","archived":false,"fork":false,"pushed_at":"2023-03-06T06:19:51.000Z","size":4290,"stargazers_count":4,"open_issues_count":22,"forks_count":8,"subscribers_count":11,"default_branch":"main","last_synced_at":"2024-06-19T04:13:20.505Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/commitdev.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}},"created_at":"2020-04-21T18:08:08.000Z","updated_at":"2022-01-19T21:58:57.000Z","dependencies_parsed_at":"2024-06-19T04:01:50.425Z","dependency_job_id":"d80ad854-d306-4ccf-98d0-3558a2ad32e4","html_url":"https://github.com/commitdev/zero-backend-go","commit_stats":{"total_commits":101,"total_committers":14,"mean_commits":7.214285714285714,"dds":0.6732673267326732,"last_synced_commit":"d2ac5021a734f5acadfbe6839d3fd78b0307a62b"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/commitdev/zero-backend-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commitdev%2Fzero-backend-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commitdev%2Fzero-backend-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commitdev%2Fzero-backend-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commitdev%2Fzero-backend-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/commitdev","download_url":"https://codeload.github.com/commitdev/zero-backend-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commitdev%2Fzero-backend-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28331253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"ssl_error","status_checked_at":"2026-01-12T00:36:15.229Z","response_time":60,"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-01-12T01:47:21.888Z","updated_at":"2026-01-12T01:47:22.615Z","avatar_url":"https://github.com/commitdev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zero Backend Service - Golang\nThis is a [Zero][zero] module which sets up a\nservice which can be deployed to the environment set up with [zero-aws-eks-stack][zero-infra].\n\nThe `/templates` folder is meant to be filled in via [Zero][zero] and results in Simple Go Service with a status endpoint. It also contains a simple CircleCI pipeline which defines how to build and deploy the service.\n\nThis repository is language/business-logic agnostic; mainly showcasing some universal best practices:\n- Built in containerization with docker\n- Deployment flow with kubernetes\n- Out of the box CI/CD flow CircleCi\n  - testing\n  - building docker image\n  - uploading docker image to private registry (ECR)\n  - deploy with kustomize\n  - manual approval step for production environment\n\n\n## Repository structure\n```sh\n/   # file in the root directory is for initializing the user's repo and declaring metadata\n|-- Makefile                        #make command triggers the initialization of repository\n|-- zero-module.yml                 #module declares required parameters and credentials\n|   # files in templates become the repo for users\n|   scripts/\n|   |   # these are scripts called only once during zero apply, and we don't\n|   |   # expect a need to rerun them throughout development of the  repository\n|   |   # used for checking binary requires / setting up CI / secrets\n|   |   |-- check.sh\n|   |   |-- gha-setup.sh\n|   |   |-- required-bins.sh\n|   |   |-- setup-stripe-secrets.sh\n|   templates/\n|   |   # this makefile is used both during init and\n|   |   # on-going needs/utilities for user to maintain their infrastructure\n|   |-- Makefile\n|   |-- kubernetes/\n|       |-- base/\n|       |   |-- cronjob.yml\n|       |   |-- deployment.yml\n|       |   |-- kustomization.yml\n|       |   |-- service.yml\n|       |-- migration/\n|       |   |-- job.yml\n|       |-- overlays/\n|       |   |-- production/\n|       |   |   |-- deployment.yml\n|       |   |   |-- ingress.yml\n|       |   |   |-- kustomization.yml\n|       |   |   |-- pdb.yml\n|       |   |-- staging/\n|       |   |   |-- deployment.yml\n|       |   |   |-- ingress.yml\n|       |   |   |-- kustomization.yml\n|       |   |   |-- pdb.yml\n|       |   |-- dev/\n|       |   |   |-- deployment.yml\n|       |   |   |-- ingress.yml\n|       |   |   |-- kustomization.yml\n|       |   |   |-- pdb.yml\n|       |-- secrets/\n|       |   |-- .gitignore\n|       |   |-- kustomization.yml\n|       |   |-- namespace.yml\n\n```\n\n**Prerequisites**\n- Kubernetes Cluster up and running\n- Have CircleCI and Github token setup with the Zero project\n- CI-user created via EKS-stack with access to ECR and your EKS\n\n## Initialization\nThis step is meant to be executed during `zero apply`, includes following steps:\n- Adding environment variables to CircleCI project\n- Linking the CircleCi with the github repository\n  - Linking the circleCI will automatically trigger the first build and deploy your application to EKS cluster\n\n\n### Frontend Repo\n\nThe corresponding frontend for this app is [zero-frontend-react][zero-frontend].\n\n## Other links\nProject board: [zenhub][zenhub-board]\n\n\n\n\u003c!-- Links --\u003e\n[zero]: https://github.com/commitdev/zero\n[zero-infra]: https://github.com/commitdev/zero-aws-eks-stack\n[zero-frontend]: https://github.com/commitdev/zero-frontend-react\n\n[zenhub-board]: https://app.zenhub.com/workspaces/commit-zero-5da8decc7046a60001c6db44/board?filterLogic=any\u0026repos=203630543,247773730,257676371,258369081\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommitdev%2Fzero-backend-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommitdev%2Fzero-backend-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommitdev%2Fzero-backend-go/lists"}