{"id":22100441,"url":"https://github.com/paologaleotti/blaze","last_synced_at":"2025-04-09T15:04:20.542Z","repository":{"id":205358436,"uuid":"678878114","full_name":"paologaleotti/blaze","owner":"paologaleotti","description":"Simple and minimal Go template for building fast and mantainable HTTP services","archived":false,"fork":false,"pushed_at":"2025-04-07T20:02:25.000Z","size":223,"stargazers_count":78,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T15:03:05.082Z","etag":null,"topics":["api","backend","go","golang","golang-api","http","scaffold","template"],"latest_commit_sha":null,"homepage":"https://goblaze.netlify.app/","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/paologaleotti.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":"2023-08-15T15:38:55.000Z","updated_at":"2025-04-01T21:15:18.000Z","dependencies_parsed_at":"2024-09-07T12:25:13.427Z","dependency_job_id":"f30b9a33-9bb5-49bd-91d4-6c4b76363800","html_url":"https://github.com/paologaleotti/blaze","commit_stats":null,"previous_names":["paologaleotti/blaze"],"tags_count":4,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paologaleotti%2Fblaze","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paologaleotti%2Fblaze/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paologaleotti%2Fblaze/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paologaleotti%2Fblaze/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paologaleotti","download_url":"https://codeload.github.com/paologaleotti/blaze/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055275,"owners_count":21040156,"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":["api","backend","go","golang","golang-api","http","scaffold","template"],"created_at":"2024-12-01T05:14:06.635Z","updated_at":"2025-04-09T15:04:20.522Z","avatar_url":"https://github.com/paologaleotti.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blaze\n\n![logo](https://github.com/paologaleotti/blaze/assets/45665769/a0c691df-b76b-4a4a-ac44-c622dd458352)\n\nMinimal Go template for building fast, simple and mantainable web services and backend applications.\n\nYou can find the **full documentation** with examples [here](https://github.com/paologaleotti/blaze/wiki).\n\n## Features\n\n- Very minimal and zero overhead\n- Production ready\n- Simple and conventional structure, no black magic\n- Separation of business logic and API logic\n- Fully compatible and based on standard [net/http](https://pkg.go.dev/net/http)\n- Strict linting with [golangci-lint](https://golangci-lint.run/)\n- Custom HTTP error handling and error mapping (separate service errors from API errors)\n- Request payload validation\n- Structured logging with [zerolog](https://github.com/rs/zerolog)\n- Full AWS Lambda support (see [serverless](https://github.com/paologaleotti/blaze/tree/feature/serverless) branch)\n\nAll utilities are implemented in the `httpx` and `util` package.\n\nThis repo contains a more real world example of a CRUD API with:\n\n- sqlite3 storage\n- Embedded sql migrations\n- Apply migrations on startup with goose\n\n## Base dependencies\n\n- **chi**: HTTP router (std net/http compatible)\n- **chi/middleware**: default middlewares and utils\n- **validator/v10**: request body struct validation\n- **zerolog**: structured logging\n\n## Get started\n\nYou can start by reading the small [wiki](https://github.com/paologaleotti/blaze/wiki) with examples.\n\nTo get started, simply run:\n\n```bash\nmake\n```\n\nThis will build the project, you just need Go installed and nothing else.\n\nTo run the server:\n\n```bash\n./bin/api/main\n```\n\nThis will create a sqlite3 file in the root of the project, run migrations and start the server on port 3000.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaologaleotti%2Fblaze","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaologaleotti%2Fblaze","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaologaleotti%2Fblaze/lists"}