{"id":22190973,"url":"https://github.com/yuhexiong/user-api-golang","last_synced_at":"2026-04-28T15:40:53.821Z","repository":{"id":198611438,"uuid":"701159593","full_name":"yuhexiong/user-api-golang","owner":"yuhexiong","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-10T04:07:58.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-23T17:12:02.806Z","etag":null,"topics":["api","backend","go","golang","mongodb","restful-api"],"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/yuhexiong.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}},"created_at":"2023-10-06T03:55:02.000Z","updated_at":"2023-12-26T09:29:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"e80a9a14-52e1-4969-b6c5-2ad9a3491e99","html_url":"https://github.com/yuhexiong/user-api-golang","commit_stats":null,"previous_names":["yuhexiong/user-api-golang"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yuhexiong/user-api-golang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhexiong%2Fuser-api-golang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhexiong%2Fuser-api-golang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhexiong%2Fuser-api-golang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhexiong%2Fuser-api-golang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuhexiong","download_url":"https://codeload.github.com/yuhexiong/user-api-golang/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuhexiong%2Fuser-api-golang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32387918,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"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","backend","go","golang","mongodb","restful-api"],"created_at":"2024-12-02T12:13:35.852Z","updated_at":"2026-04-28T15:40:48.813Z","avatar_url":"https://github.com/yuhexiong.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# User API\n\n## Overview\n- Language: Golang v1.20.1\n- Web Framework: Fiber\n- DataBase: MongoDB v7.0.2\n\n## ENV\ncopy .env.default and rename as .env\n```\nMONGO_URL=\nDB_NAME=\nAPI_PORT=\n```\n\n## Install Modules\n```\ngo get -u \u0026\u0026 go mod tidy -v\n```\n\n\n## Run\n```\ngo run main.go\n```\n\n## Test\n```\ngo test -v ./test/.\n```\n\n## API\n\n* `POST /user`\n* `GET /user/{userId}`\n* `PUT /user/{userId}`\n* `PATCH /user/{userId}/{status}`\n* `DELETE /user/{userId}`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuhexiong%2Fuser-api-golang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuhexiong%2Fuser-api-golang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuhexiong%2Fuser-api-golang/lists"}