{"id":20475234,"url":"https://github.com/yagoluiz/user-api","last_synced_at":"2026-04-09T23:49:09.088Z","repository":{"id":62607936,"uuid":"401715345","full_name":"yagoluiz/user-api","owner":"yagoluiz","description":"User search API using Golang","archived":false,"fork":false,"pushed_at":"2023-06-18T14:07:21.000Z","size":759,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-16T03:14:41.733Z","etag":null,"topics":["docker","docker-compose","fulltext-search","golang","mongodb"],"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/yagoluiz.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":"2021-08-31T13:34:38.000Z","updated_at":"2023-04-17T13:13:26.000Z","dependencies_parsed_at":"2024-06-21T03:58:15.335Z","dependency_job_id":"da7b37b9-bee2-4a99-9c97-e8a5d4a8d664","html_url":"https://github.com/yagoluiz/user-api","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/yagoluiz%2Fuser-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yagoluiz%2Fuser-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yagoluiz%2Fuser-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yagoluiz%2Fuser-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yagoluiz","download_url":"https://codeload.github.com/yagoluiz/user-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242042028,"owners_count":20062334,"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":["docker","docker-compose","fulltext-search","golang","mongodb"],"created_at":"2024-11-15T15:15:07.048Z","updated_at":"2026-04-09T23:49:04.035Z","avatar_url":"https://github.com/yagoluiz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# User Search API\n\n![](https://github.com/yagoluiz/user-api/workflows/Docker%20Image%20CI/badge.svg)\n\nAPI responsible for search users using MongoDB [Text Search](https://docs.mongodb.com/manual/text-search).\n\nBranch project implemented in C# =\u003e [user-api/dotnet](https://github.com/yagoluiz/user-api/tree/dotnet)\n\n## Instructions for run project\n\nRun project via Docker (using Makefile) or Visual Studio Code (tasks project).\n\n### Docker\n\n```bash\nmake compose-up\n```\n\n```bash\nmake compose-down\n```\n\n```bash\nmake compose-log-user-api\n```\n\n```bash\nmake compose-log-user-db\n```\n\n### VS Code\n\nExecute F5 command and run database:\n\n```bash\nmake mongo-db\n```\n\n## Instructions for run test project\n\n```bash\nmake test-install-mocks\n```\n\n```bash\nmake test-generate-mocks\n```\n\n```bash\nmake test-run\n```\n\n```bash\nmake test-coverage\n```\n\n## Other commands\n\n```bash\nmake pkg-update\n```\n\n## Endpoints\n\n*Swagger*\n\n```bash\nhttp://localhost:8080/swagger/index.html\n```\n\n*v1/users/search*\n\n```bash\ncurl -X 'GET' \\\n  'http://localhost:8080/api/v1/users/search?query=yago\u0026from=1\u0026size=10' \\\n  -H 'accept: application/json'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyagoluiz%2Fuser-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyagoluiz%2Fuser-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyagoluiz%2Fuser-api/lists"}