{"id":30561030,"url":"https://github.com/0necontroller/goserver-starter","last_synced_at":"2025-08-28T11:11:36.716Z","repository":{"id":305921082,"uuid":"798200024","full_name":"0necontroller/GoServer-Starter","owner":"0necontroller","description":"This is a go template for go  projects","archived":false,"fork":false,"pushed_at":"2024-05-21T09:09:47.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-19T14:05:29.371Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0necontroller.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-05-09T09:45:09.000Z","updated_at":"2025-02-23T16:07:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"aedec90b-07ca-48ae-88ff-b39e1a12c6b8","html_url":"https://github.com/0necontroller/GoServer-Starter","commit_stats":null,"previous_names":["0necontroller/goserver-starter"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/0necontroller/GoServer-Starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0necontroller%2FGoServer-Starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0necontroller%2FGoServer-Starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0necontroller%2FGoServer-Starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0necontroller%2FGoServer-Starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0necontroller","download_url":"https://codeload.github.com/0necontroller/GoServer-Starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0necontroller%2FGoServer-Starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272487838,"owners_count":24942748,"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-08-28T02:00:10.768Z","response_time":74,"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":[],"created_at":"2025-08-28T11:11:32.623Z","updated_at":"2025-08-28T11:11:36.711Z","avatar_url":"https://github.com/0necontroller.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Server Template\n\nThis is a resful API server for this project.\n\n## Project structure\n\n### models\nThis folder contains the models for the database.\n\n### routes\nThis folder contains the routes for the API.\n\n### middleware\nThis folder contains the middleware for the API.\n\n### controllers\nThis folder contains the controllers for the API.\n\n### database\nThis folder contains the database connection.\n\n### initializers\nThis folder contains the initializers for the server.\n\n### utils\nThis folder contains utility functions.\n\n### app.go\nThis is the main file for the server.\n\n## Setup\nTo setup the server, you need to have a `.env` file in the root directory of the project. The `.env` file should contain the following variables:\n\n```\nPORT=3000\nPOSTGRES_URI=postgres://username:password@localhost:5432/dbname\nJWT_SECRET=secret-32-characters-long\nAPP_ENV=dev || prod\n```\n\nAfter setting up the run the following command to setup the go modules:\n\n```\ngo mod tidy\n```\n\nTo start the server, run the following command:\n\n```\ngo run app.go\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0necontroller%2Fgoserver-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0necontroller%2Fgoserver-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0necontroller%2Fgoserver-starter/lists"}