{"id":18349270,"url":"https://github.com/pvarentsov/go-backend-template","last_synced_at":"2025-04-06T09:31:59.898Z","repository":{"id":40541653,"uuid":"446063325","full_name":"pvarentsov/go-backend-template","owner":"pvarentsov","description":"Clean architecture based backend template in Go.","archived":false,"fork":false,"pushed_at":"2022-06-02T20:20:28.000Z","size":8719,"stargazers_count":51,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-21T21:22:55.533Z","etag":null,"topics":["backend-template","clean-architecture","go","go-boilerplate","go-template"],"latest_commit_sha":null,"homepage":"","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/pvarentsov.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}},"created_at":"2022-01-09T11:02:51.000Z","updated_at":"2025-03-06T20:54:23.000Z","dependencies_parsed_at":"2022-07-27T07:00:08.631Z","dependency_job_id":null,"html_url":"https://github.com/pvarentsov/go-backend-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pvarentsov%2Fgo-backend-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pvarentsov%2Fgo-backend-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pvarentsov%2Fgo-backend-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pvarentsov%2Fgo-backend-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pvarentsov","download_url":"https://codeload.github.com/pvarentsov/go-backend-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247463745,"owners_count":20942935,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["backend-template","clean-architecture","go","go-boilerplate","go-template"],"created_at":"2024-11-05T21:21:21.463Z","updated_at":"2025-04-06T09:31:59.477Z","avatar_url":"https://github.com/pvarentsov.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    \u003cimg height=\"80\" width=\"160\" src=\"./assets/gopher-icon.gif\" alt=\"Go\"\u003e\u003cbr\u003eBackend Template\n\u003c/h1\u003e\n\n\u003e Clean architecture based backend template in Go.\n\n## Makefile\n\nMakefile requires installed dependecies:\n* [go](https://go.dev/doc/install)\n* [docker-compose](https://docs.docker.com/compose/reference)\n* [migrate](https://github.com/golang-migrate/migrate)\n\n\n```shell\n$ make\n\nUsage: make [command]\n\nCommands:\n rename-project name={name}    Rename project\n \n build-http                    Build http server\n\n migration-create name={name}  Create migration\n migration-up                  Up migrations\n migration-down                Down last migration\n\n docker-up                     Up docker services\n docker-down                   Down docker services\n\n fmt                           Format source code\n test                          Run unit tests\n\n```\n\n## HTTP Server\n\n```shell\n$ ./bin/http-server --help\n\nUsage: http-server\n\nFlags:\n  -h, --help               Show context-sensitive help.\n      --env-path=STRING    Path to env config file\n```\n\n**Configuration** is based on the environment variables. See [.env.template](./config/env/.env.template).\n\n```shell\n# Expose env vars before and start server\n$ ./bin/http-server\n\n# Expose env vars from the file and start server\n$ ./bin/http-server --env-path ./config/env/.env\n```\n\n## Request Collection\n* [InsomniaV4](./assets/api-collection.insomnia-v4.json)\n\n## License\n\nThis project is licensed under the [MIT License](https://github.com/pvarentsov/go-backend-template/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpvarentsov%2Fgo-backend-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpvarentsov%2Fgo-backend-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpvarentsov%2Fgo-backend-template/lists"}