{"id":19570830,"url":"https://github.com/create-go-app/chi-go-template","last_synced_at":"2025-10-25T07:11:35.179Z","repository":{"id":59047137,"uuid":"409832061","full_name":"create-go-app/chi-go-template","owner":"create-go-app","description":"📝  Production-ready backend template with go-chi router for Create Go App CLI.","archived":false,"fork":false,"pushed_at":"2022-01-05T15:43:53.000Z","size":24,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-06-20T17:40:04.283Z","etag":null,"topics":["backend-template","cgapp","chi-backend-template","create-go-app","docker","go-chi","golang","template-project"],"latest_commit_sha":null,"homepage":"https://github.com/create-go-app/cli/wiki","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/create-go-app.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":"2021-09-24T04:33:02.000Z","updated_at":"2024-06-06T19:52:01.000Z","dependencies_parsed_at":"2022-09-11T06:51:29.222Z","dependency_job_id":null,"html_url":"https://github.com/create-go-app/chi-go-template","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/create-go-app%2Fchi-go-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/create-go-app%2Fchi-go-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/create-go-app%2Fchi-go-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/create-go-app%2Fchi-go-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/create-go-app","download_url":"https://codeload.github.com/create-go-app/chi-go-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224056523,"owners_count":17248329,"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","cgapp","chi-backend-template","create-go-app","docker","go-chi","golang","template-project"],"created_at":"2024-11-11T06:16:30.876Z","updated_at":"2025-10-25T07:11:35.091Z","avatar_url":"https://github.com/create-go-app.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-chi backend template for [Create Go App CLI](https://github.com/create-go-app/cli)\n\n\u003cimg src=\"https://img.shields.io/badge/Go-1.17+-00ADD8?style=for-the-badge\u0026logo=go\" alt=\"go version\" /\u003e\u0026nbsp;\u003ca href=\"https://goreportcard.com/report/github.com/create-go-app/fiber-go-template\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/Go_report-A+-success?style=for-the-badge\u0026logo=none\" alt=\"go report\" /\u003e\u003c/a\u003e\u0026nbsp;\u003cimg src=\"https://img.shields.io/badge/license-Apache_2.0-red?style=for-the-badge\u0026logo=none\" alt=\"license\" /\u003e\n\n[Chi](https://go-chi.io/#/) is a lightweight, idiomatic and composable router for building Go HTTP services.\n\n## ⚡️ Quick start\n\n1. Create a new project with Fiber:\n\n```bash\ncgapp create\n\n# Choose a backend framework:\n#   net/http\n#   fiber\n# \u003e chi\n```\n\n2. Rename `.env.example` to `.env` and fill it with your environment values.\n3. Install [Docker](https://www.docker.com/get-started) and the following useful Go tools to your system:\n\n- [golang-migrate/migrate](https://github.com/golang-migrate/migrate#cli-usage) for apply migrations\n- [github.com/securego/gosec](https://github.com/securego/gosec) for checking Go security issues\n- [github.com/go-critic/go-critic](https://github.com/go-critic/go-critic) for checking Go the best practice issues\n- [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) for checking Go linter issues\n\n4. Run project by this command:\n\n```bash\nmake docker.run\n```\n\n5. Go to [127.0.0.1:5000/hc/status](http://127.0.0.1:5000/hc/status) and see `HTTP 200 OK`.\n\n## 📦 Used packages\n\n| Name                                                                  | Version  | Type       |\n|-----------------------------------------------------------------------| -------- | ---------- |\n| [go-chi/chi](https://github.com/go-chi/chi)                           | `v5.0.7` | core       |\n| [joho/godotenv](https://github.com/joho/godotenv)                     | `v1.4.0` | config     |\n\n## ⚙️ Configuration\n\n```ini\n# .env\n\n# Stage status to start server:\n#   - \"dev\", for start server without graceful shutdown\n#   - \"prod\", for start server with graceful shutdown\nSTAGE_STATUS=\"dev\"\n\n# Server settings:\nSERVER_HOST=\"0.0.0.0\"\nSERVER_PORT=5000\nSERVER_READ_TIMEOUT=5\nSERVER_WRITE_TIMEOUT=10\nSERVER_IDLE_TIMEOUT=120\n```\n\n## ⚠️ License\n\nApache 2.0 \u0026copy; [Vic Shóstak](https://shostak.dev/) \u0026 [True web artisans](https://1wa.co/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreate-go-app%2Fchi-go-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreate-go-app%2Fchi-go-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreate-go-app%2Fchi-go-template/lists"}