{"id":20843915,"url":"https://github.com/tkc/go-echo-server-sandbox","last_synced_at":"2025-05-09T01:47:28.336Z","repository":{"id":50331533,"uuid":"65360930","full_name":"tkc/go-echo-server-sandbox","owner":"tkc","description":"A scaffold of golang web server using labstack/echo","archived":false,"fork":false,"pushed_at":"2020-04-05T08:59:54.000Z","size":80,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-09T01:47:23.238Z","etag":null,"topics":["boilerplate","echo","golang","gorm","labstack-echo","sandbox","scaffold","web-app","webserver"],"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/tkc.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}},"created_at":"2016-08-10T07:35:44.000Z","updated_at":"2023-05-21T10:48:50.000Z","dependencies_parsed_at":"2022-08-24T18:40:36.992Z","dependency_job_id":null,"html_url":"https://github.com/tkc/go-echo-server-sandbox","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/tkc%2Fgo-echo-server-sandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkc%2Fgo-echo-server-sandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkc%2Fgo-echo-server-sandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkc%2Fgo-echo-server-sandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkc","download_url":"https://codeload.github.com/tkc/go-echo-server-sandbox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253176440,"owners_count":21866142,"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":["boilerplate","echo","golang","gorm","labstack-echo","sandbox","scaffold","web-app","webserver"],"created_at":"2024-11-18T02:07:46.658Z","updated_at":"2025-05-09T01:47:28.312Z","avatar_url":"https://github.com/tkc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Go](https://github.com/tkc/go-echo-server-sandbox/workflows/Go/badge.svg)\n\n# go-echo-server-sandbox\n\necho server sandbox using ORM mapper and html template.\n\n- github.com/labstack/echo\n- github.com/jinzhu/gorm\n- github.com/pilu/fresh\n- github actions\n\n## Requirements\n\n### Go\n\n```\n$ brew install goenv\n$ goenv install 1.13.x\n$ goenv global 1.13.x\n$ goenv rehash\n```\n\n## Dependency\n\n```sh\n$ make dep\n```\n\n## Install golangci-lint\n\n```\n$ brew install golangci/tap/golangci-lint\n$ brew upgrade golangci/tap/golangci-lint\n```\n[more...](https://github.com/golangci/golangci-lint#macos)\n\n## Lint\n\n```\n$ golangci-lint run \n```\n\n## Database (MySQL) Config\n\n`note: cp config.yaml.example config.yaml`\n\nupdate database config\n\n``` yaml\napp: local\nport: :8080\n\ndatabase:\n  name: \u003cdatabase name\u003e\n  name: \u003cuser name\u003e\n  password: \u003cuser passWord\u003e\n```\n\n## Migration\n\n``` sh\n$ go run ./migrate/migrate.go\n```\n\n## Serve and Hot Reload\n\n``` sh\n$ fresh\n```\n\n## Create New User\n\n``` sh\n$ curl http://localhost:8080/user \\\n  -X POST \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"Name\": \"userName\",\"Age\": 1}'\n```\n\n## Testing\n\n``` sh\n$ go test ./...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkc%2Fgo-echo-server-sandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkc%2Fgo-echo-server-sandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkc%2Fgo-echo-server-sandbox/lists"}