{"id":24752229,"url":"https://github.com/mikkurogue/goilerplate-api","last_synced_at":"2026-03-05T19:03:00.772Z","repository":{"id":245911210,"uuid":"819535384","full_name":"mikkurogue/goilerplate-api","owner":"mikkurogue","description":"Goilerplate - the boilerplate for your api","archived":false,"fork":false,"pushed_at":"2024-08-19T19:18:28.000Z","size":45,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-13T20:59:59.378Z","etag":null,"topics":["api","boilerplate","crud","echo","get-started","go","goilerplate","rest","sqlite","turso"],"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/mikkurogue.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"code_of_conduct.md","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":"2024-06-24T17:46:44.000Z","updated_at":"2024-08-19T19:18:32.000Z","dependencies_parsed_at":"2024-07-18T12:02:34.515Z","dependency_job_id":"da094431-fb93-4d1e-88ec-7d68139a29e7","html_url":"https://github.com/mikkurogue/goilerplate-api","commit_stats":null,"previous_names":["mikkurogue/goilerplate-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mikkurogue/goilerplate-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikkurogue%2Fgoilerplate-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikkurogue%2Fgoilerplate-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikkurogue%2Fgoilerplate-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikkurogue%2Fgoilerplate-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikkurogue","download_url":"https://codeload.github.com/mikkurogue/goilerplate-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikkurogue%2Fgoilerplate-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30144700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","boilerplate","crud","echo","get-started","go","goilerplate","rest","sqlite","turso"],"created_at":"2025-01-28T10:36:53.902Z","updated_at":"2026-03-05T19:03:00.730Z","avatar_url":"https://github.com/mikkurogue.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Goilerplate - Powered by echo\n\nThe boilerplate for your Go API!\n\n## Why?\n\nWhy not, its just a fun side project for me on the side. It's ease of access too for anyone wanting to get started with a boilerplate for an api.\n\n## Lightweight-ish?\n\nI want to try and keep this boilerplate to as minimal amount of direct deps as possible, for transparency the reasoning is because then no one should feel pidgeon-holed into using some potentially obscure dependencies that they potentially may not need.\n\nIn terms of cli styling for the binary, I would be open to using things like charmbracelet for logger purposes to make things look _cool_ but at this current point in time I don't see any value as of yet to do so.\n\n## What comes out of the box?\n\n- Relatively simple project structure\n- 2 GET requests that send a string and a json object\n- 2 POST requests - multipart and json body\n- Basic JWT token generation\n  - With example /login post route\n- Example protected routes for auth\n- Mongodb driver\n- Support for turso\n\n\n### Database caveats\nI do highly recommend uncommenting/removing the database files you do not need for your use case. For instance, if you are not planning on using Turso, then make sure to remove the Turso boilerplate. The same goes for mongo db.\n\nThe reason I have them both in the main branch is because I want to keep everyones options open and allow people to work with whatever they want. The point of this boilerplate is to make it as robust, lightweight and adaptable as possible.\n\n## How to run?\n\nClone the repository and simply navigate to it with your terminal and fire the command `go run main.go`\nTo build the binaries run `go build .`\n\nThen make a call to `localhost:1337/hello-world` to get an initial GET response!\n\nTo test the POST requests, I recommend using a client like Postman or Insomnia.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikkurogue%2Fgoilerplate-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikkurogue%2Fgoilerplate-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikkurogue%2Fgoilerplate-api/lists"}