{"id":13806788,"url":"https://github.com/create-go-app/fiber-go-template","last_synced_at":"2025-10-06T03:48:26.540Z","repository":{"id":37799424,"uuid":"235892273","full_name":"create-go-app/fiber-go-template","owner":"create-go-app","description":"📝 Production-ready backend template with Fiber Go Web Framework for Create Go App CLI.","archived":false,"fork":false,"pushed_at":"2025-09-04T18:59:04.000Z","size":831,"stargazers_count":1066,"open_issues_count":1,"forks_count":144,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-09-04T20:42:47.727Z","etag":null,"topics":["api-server","api-test","backend-template","cgapp","create-go-app","docker","fiber","fiber-backend-template","golang","golang-app-server","hacktoberfest","hacktoberfest2021","swagger","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":".github/FUNDING.yml","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},"funding":{"liberapay":"koddr","custom":["https://www.producthunt.com/posts/create-go-app"]}},"created_at":"2020-01-23T21:42:12.000Z","updated_at":"2025-09-04T18:57:58.000Z","dependencies_parsed_at":"2023-09-22T14:23:27.532Z","dependency_job_id":"d359b219-6445-4c19-a67a-d8392b23cb8d","html_url":"https://github.com/create-go-app/fiber-go-template","commit_stats":{"total_commits":324,"total_committers":16,"mean_commits":20.25,"dds":0.5925925925925926,"last_synced_commit":"71ea081f99f1c2a37f360b84d7fa8e776ceaf72d"},"previous_names":[],"tags_count":52,"template":false,"template_full_name":null,"purl":"pkg:github/create-go-app/fiber-go-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/create-go-app%2Ffiber-go-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/create-go-app%2Ffiber-go-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/create-go-app%2Ffiber-go-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/create-go-app%2Ffiber-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/fiber-go-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/create-go-app%2Ffiber-go-template/sbom","scorecard":{"id":308036,"data":{"date":"2025-08-11","repo":{"name":"github.com/create-go-app/fiber-go-template","commit":"158658a1157e21e2ea2a9a986c16837af97d955c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":7.6,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/create-go-app/.github/SECURITY.md:1","Info: Found linked content: github.com/create-go-app/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/create-go-app/.github/SECURITY.md:1","Info: Found text in security policy: github.com/create-go-app/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":9,"reason":"SAST tool is not run on all commits -- score normalized to 9","details":["Warn: 28 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T22:34:45.260Z","repository_id":37799424,"created_at":"2025-08-17T22:34:45.261Z","updated_at":"2025-08-17T22:34:45.261Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278556190,"owners_count":26006080,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api-server","api-test","backend-template","cgapp","create-go-app","docker","fiber","fiber-backend-template","golang","golang-app-server","hacktoberfest","hacktoberfest2021","swagger","template-project"],"created_at":"2024-08-04T01:01:16.176Z","updated_at":"2025-10-06T03:48:26.478Z","avatar_url":"https://github.com/create-go-app.png","language":"Go","funding_links":["https://liberapay.com/koddr","https://www.producthunt.com/posts/create-go-app"],"categories":["🚧 Boilerplates"],"sub_categories":["🌱 Third Party"],"readme":"# Fiber 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.19+-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[Fiber](https://gofiber.io/) is an Express.js inspired web framework build on top of Fasthttp, the fastest HTTP engine for Go. Designed to ease things up for **fast** development with **zero memory allocation** and **performance** in mind.\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# \u003e fiber\n#   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/swaggo/swag](https://github.com/swaggo/swag) for auto-generating Swagger API docs\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 API Docs page (Swagger): [127.0.0.1:5000/swagger/index.html](http://127.0.0.1:5000/swagger/index.html)\n\n![Screenshot](https://user-images.githubusercontent.com/11155743/112715187-07dab100-8ef0-11eb-97ea-68d34f2178f6.png)\n\n## 🗄 Template structure\n\n### ./app\n\n**Folder with business logic only**. This directory doesn't care about _what database driver you're using_ or _which caching solution your choose_ or any third-party things.\n\n- `./app/controllers` folder for functional controllers (used in routes)\n- `./app/models` folder for describe business models and methods of your project\n- `./app/queries` folder for describe queries for models of your project\n\n### ./docs\n\n**Folder with API Documentation**. This directory contains config files for auto-generated API Docs by Swagger.\n\n### ./pkg\n\n**Folder with project-specific functionality**. This directory contains all the project-specific code tailored only for your business use case, like _configs_, _middleware_, _routes_ or _utils_.\n\n- `./pkg/configs` folder for configuration functions\n- `./pkg/middleware` folder for add middleware (Fiber built-in and yours)\n- `./pkg/repository` folder for describe `const` of your project\n- `./pkg/routes` folder for describe routes of your project\n- `./pkg/utils` folder with utility functions (server starter, error checker, etc)\n\n### ./platform\n\n**Folder with platform-level logic**. This directory contains all the platform-level logic that will build up the actual project, like _setting up the database_ or _cache server instance_ and _storing migrations_.\n\n- `./platform/cache` folder with in-memory cache setup functions (by default, Redis)\n- `./platform/database` folder with database setup functions (by default, PostgreSQL)\n- `./platform/migrations` folder with migration files (used with [golang-migrate/migrate](https://github.com/golang-migrate/migrate) tool)\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=60\n\n# JWT settings:\nJWT_SECRET_KEY=\"secret\"\nJWT_SECRET_KEY_EXPIRE_MINUTES_COUNT=15\nJWT_REFRESH_KEY=\"refresh\"\nJWT_REFRESH_KEY_EXPIRE_HOURS_COUNT=720\n\n# Database settings:\nDB_TYPE=\"pgx\"   # pgx or mysql\nDB_HOST=\"cgapp-postgres\"\nDB_PORT=5432\nDB_USER=\"postgres\"\nDB_PASSWORD=\"password\"\nDB_NAME=\"postgres\"\nDB_SSL_MODE=\"disable\"\nDB_MAX_CONNECTIONS=100\nDB_MAX_IDLE_CONNECTIONS=10\nDB_MAX_LIFETIME_CONNECTIONS=2\n\n# Redis settings:\nREDIS_HOST=\"cgapp-redis\"\nREDIS_PORT=6379\nREDIS_PASSWORD=\"\"\nREDIS_DB_NUMBER=0\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%2Ffiber-go-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreate-go-app%2Ffiber-go-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreate-go-app%2Ffiber-go-template/lists"}