{"id":16838592,"url":"https://github.com/jordan-wright/http-boilerplate","last_synced_at":"2025-03-17T04:33:24.126Z","repository":{"id":55057913,"uuid":"158141462","full_name":"jordan-wright/http-boilerplate","owner":"jordan-wright","description":"Golang HTTP Server Boilerplate","archived":false,"fork":false,"pushed_at":"2020-08-14T12:21:36.000Z","size":5,"stargazers_count":107,"open_issues_count":1,"forks_count":16,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-16T08:23:07.241Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jordan-wright.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":"2018-11-19T00:39:47.000Z","updated_at":"2025-03-14T15:53:54.000Z","dependencies_parsed_at":"2022-08-14T10:30:43.071Z","dependency_job_id":null,"html_url":"https://github.com/jordan-wright/http-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordan-wright%2Fhttp-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordan-wright%2Fhttp-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordan-wright%2Fhttp-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordan-wright%2Fhttp-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jordan-wright","download_url":"https://codeload.github.com/jordan-wright/http-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243975089,"owners_count":20377509,"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":[],"created_at":"2024-10-13T12:24:41.295Z","updated_at":"2025-03-17T04:33:23.828Z","avatar_url":"https://github.com/jordan-wright.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# http-boilerplate\n\nAn example of a reasonably complex web server in Go.\n\n## What's Included\n\nThis is a boilerplate application designed to show how to build web applications in Go. The following features are already set up:\n\n* HTTPS through Let's Encrypt\n* An API subrouter\n* A demo of authentication middleware\n* Static file serving\n* Graceful shutdown\n\nThis application largely uses the standard library. Routing is provided by the `go-chi/chi` package, and Let's Encrypt functionality is provided by the `autocert` package.\n\n## More Information\n\nFor more information on the design behind this boilerplate, please refer to [the blog post](https://getgophish.com/blog/post/2018-12-02-building-web-servers-in-go/).\n\n## Usage\n\nTo start using this library, it's recommend to fork this repository. Then, you can update the import paths to point to your local copy.\n\n## Pull Requests Welcome!\n\nThis is just one way to structure web servers in Go. I'd love to get feedback on possible improvements, so please don't hesitate to send a [pull request!](https://github.com/jordan-wright/http-boilerplate/pulls)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordan-wright%2Fhttp-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjordan-wright%2Fhttp-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordan-wright%2Fhttp-boilerplate/lists"}