{"id":19362995,"url":"https://github.com/dimaskiddo/codebase-go-rest-lite","last_synced_at":"2025-08-25T08:17:12.697Z","repository":{"id":119738430,"uuid":"172210231","full_name":"dimaskiddo/codebase-go-rest-lite","owner":"dimaskiddo","description":"Codebase for REST API in Go (Lite)","archived":false,"fork":false,"pushed_at":"2023-07-31T05:13:32.000Z","size":102,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-06-20T17:38:27.152Z","etag":null,"topics":["api","codebase","go","golang","lite","rest","server"],"latest_commit_sha":null,"homepage":"","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/dimaskiddo.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}},"created_at":"2019-02-23T12:12:09.000Z","updated_at":"2023-07-31T02:23:38.000Z","dependencies_parsed_at":"2024-06-20T17:18:53.985Z","dependency_job_id":"6d1c5387-c9b8-4a87-9894-59688044e981","html_url":"https://github.com/dimaskiddo/codebase-go-rest-lite","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/dimaskiddo%2Fcodebase-go-rest-lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaskiddo%2Fcodebase-go-rest-lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaskiddo%2Fcodebase-go-rest-lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaskiddo%2Fcodebase-go-rest-lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimaskiddo","download_url":"https://codeload.github.com/dimaskiddo/codebase-go-rest-lite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223926001,"owners_count":17226373,"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","codebase","go","golang","lite","rest","server"],"created_at":"2024-11-10T07:32:04.723Z","updated_at":"2024-11-10T07:32:05.329Z","avatar_url":"https://github.com/dimaskiddo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codebase for REST API in Go (Lite)\n\nThis codebase help a new Go developer in developing a REST API using Go.\nThis codebase included with some pre bundle service or helper like authentication, logging, and predefined configuration. **This lite version does not have database, cache, or store driver**.\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\nSee deployment for notes on how to deploy the project on a live system.\n\n### Prerequisites\n\nPrequisites package:\n* Go (Go Programming Language)\n* Dep (Go Dependencies Management Tool)\n* Make (Automated Execution using Makefile)\n\nOptional package:\n* GoReleaser (Go Automated Binaries Build)\n* Docker (Application Containerization)\n\n### Installing\n\nBelow is the instructions to make this codebase running:\n* Create a Go Workspace directory and export it as the extended GOPATH directory\n```\ncd \u003cyour_go_workspace_directory\u003e\nexport GOPATH=$GOPATH:\"`pwd`\"\n```\n* Under the Go Workspace directory create a source directory\n```\nmkdir -p src/\u003cyour_repository_domain\u003e/\u003cyour_username\u003e/\u003cyour_repository\u003e\n```\n* Move to the created directory and pull codebase\n```\ncd src/\u003cyour_repository_domain\u003e/\u003cyour_username\u003e/\u003cyour_repository\u003e\ngit clone -b master https://github.com/dimaskiddo/codebase-go-rest-lite.git .\n```\n* Run following command to change the codebase repository URL to your own\n```\nmake rebase REBASE_URL=\"\u003cyour_repository_domain\u003e/\u003cyour_username\u003e/\u003cyour_repository\u003e\"\n```\n* Run following command to renew and pull dependecies package\n```\nmake init\nmake vendor\n```\n* Until this step you already can run this code by using this command\n```\nmake run\n```\n\n## Running The Tests\n\nCurrently the test is not ready yet :)\n\n## Deployment\n\n**Make sure your your go script does not relate to github.com/dimaskiddo/codebase-go-rest-lite anymore**.\nTo build this codebase to binaries for distribution purposes you can run following command:\n```\nmake release\n```\nThe build result will shown in build directory\n\n## Built With\n\n* [Go](https://golang.org/) - Go Programming Languange\n* [Dep](https://github.com/golang/dep) - Go Dependency Management Tool\n* [GoReleaser](https://github.com/goreleaser/goreleaser) - Go Automated Binaries Build\n* [Make](https://www.gnu.org/software/make/) - GNU Make Automated Execution\n* [Docker](https://www.docker.com/) - Application Containerization\n\n## Authors\n\n* **Dimas Restu Hidayanto** - *Initial Work* - [DimasKiddo](https://github.com/dimaskiddo)\n\nSee also the list of [contributors](https://github.com/dimaskiddo/codebase-go-rest-lite/contributors) who participated in this project\n\n## Annotation\n\nYou can seek more information for the make command parameters in the [Makefile](https://raw.githubusercontent.com/dimaskiddo/codebase-go-rest-lite/master/Makefile)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimaskiddo%2Fcodebase-go-rest-lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimaskiddo%2Fcodebase-go-rest-lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimaskiddo%2Fcodebase-go-rest-lite/lists"}