{"id":18517527,"url":"https://github.com/stevenferrer/chi-rest","last_synced_at":"2025-08-31T10:38:37.487Z","repository":{"id":57534398,"uuid":"130805062","full_name":"stevenferrer/chi-rest","owner":"stevenferrer","description":"simple rest api using go-chi","archived":false,"fork":false,"pushed_at":"2021-11-04T03:12:07.000Z","size":49,"stargazers_count":13,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-14T12:43:13.770Z","etag":null,"topics":["go","go-chi","rest-api"],"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/stevenferrer.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-04-24T06:13:02.000Z","updated_at":"2025-03-09T06:53:28.000Z","dependencies_parsed_at":"2022-09-26T16:31:09.580Z","dependency_job_id":null,"html_url":"https://github.com/stevenferrer/chi-rest","commit_stats":null,"previous_names":["moqafi/harper","sf9v/harper","sf9v/chi-rest"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stevenferrer/chi-rest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenferrer%2Fchi-rest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenferrer%2Fchi-rest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenferrer%2Fchi-rest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenferrer%2Fchi-rest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stevenferrer","download_url":"https://codeload.github.com/stevenferrer/chi-rest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevenferrer%2Fchi-rest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272971407,"owners_count":25024093,"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-31T02:00:09.071Z","response_time":79,"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":["go","go-chi","rest-api"],"created_at":"2024-11-06T17:04:26.235Z","updated_at":"2025-08-31T10:38:37.440Z","avatar_url":"https://github.com/stevenferrer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chi-rest\n\nBoilerplate for REST service using go-chi. This project uses the concept of database agnostic user models by implementing storer interface for the model. \n\n## TODO\n* improve errors in validation\n\n## Dependencies\n\n\t* github.com/oxequa/realize\n\t* github.com/go-chi/chi/v5\n\t* github.com/go-chi/render\n\t* github.com/go-chi/middleware\n\t* github.com/go-chi/jwtauth\n\t* github.com/sirupsen/logrus\n\t* github.com/unrolled/render\n\t* github.com/josharian/impl - interface implementation generator\n\t* github.com/jinzhu/gorm - ORM\n\t* github.com/go-gormigrate/gormigrate - database migration\n\t* github.com/go-ozzo/ozzo-validation - struct validation. why this and not other validation package that use struct tags? i really like the concept of this validation package. it doesn't use struct tags and that's what makes it (IMO) superior to others!\n\n## Running\n`go get` all dependencies before anything else then run:\n    \n    $ realize start\n\n## Tools that might be needed for convenience\n\n* Model generator for a given database\n* Response and Request management package\n* Stub generator for resources\n* Storer interface implemetation generators - impl\n* Store implementation tests stub generator\n* Database migration - gormigrate (inside store implementations)\n* ORM - gorm\n\t\n### Generating Storer interface stub\nBelow is an example of generating Storer interface sub. \n\n\t$ impl \"s *Store\" github.com/stevenferrer/chi-rest/model/user.Storer \u003e\u003e ./store/user/mssql/mssql.go\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevenferrer%2Fchi-rest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevenferrer%2Fchi-rest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevenferrer%2Fchi-rest/lists"}