{"id":22006309,"url":"https://github.com/javiorfo/go-microservice-users","last_synced_at":"2025-05-05T21:51:08.643Z","repository":{"id":262493103,"uuid":"887289950","full_name":"javiorfo/go-microservice-users","owner":"javiorfo","description":"Go microservice for storing users, credentials, login and registration security","archived":false,"fork":false,"pushed_at":"2024-11-29T20:21:49.000Z","size":62,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-29T21:24:59.710Z","etag":null,"topics":["go","golang","jwt","jwt-authentication","security","users"],"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/javiorfo.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":"security/pwd/password.go","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-12T13:46:27.000Z","updated_at":"2024-11-29T20:21:53.000Z","dependencies_parsed_at":"2024-11-12T18:36:36.656Z","dependency_job_id":"e13737c5-8321-4fbb-930f-298f3517097a","html_url":"https://github.com/javiorfo/go-microservice-users","commit_stats":null,"previous_names":["javiorfo/go-microservice-users"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javiorfo%2Fgo-microservice-users","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javiorfo%2Fgo-microservice-users/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javiorfo%2Fgo-microservice-users/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javiorfo%2Fgo-microservice-users/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javiorfo","download_url":"https://codeload.github.com/javiorfo/go-microservice-users/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227246914,"owners_count":17753428,"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":["go","golang","jwt","jwt-authentication","security","users"],"created_at":"2024-11-30T01:11:33.644Z","updated_at":"2025-05-05T21:51:08.636Z","avatar_url":"https://github.com/javiorfo.png","language":"Go","funding_links":["https://www.paypal.com/donate/?hosted_button_id=FA7SGLSCT2H8G"],"categories":[],"sub_categories":[],"readme":"# go-microservice-users\n*Go microservice for storing users, credentials, login and registration security*\n\n## Dependencies\nGolang, Docker, Make, [Swag tool](https://github.com/swaggo/swag)\n\n## Features\n- Architecture\n    - Handlers, respositories and services\n    - Custom Messages and Errors\n    - Pagination and Ordering\n    - DB Migrator\n- Go 1.23 (at the moment)\n- Libraries\n    - Web: Fiber\n    - ORM: Gorm\n    - Security: JWT\n    - Validations: Go Playground Validator\n    - Unit Test: Testify\n    - DB: Postgres\n    - Tracing: Opentelemetry\n    - Test: Testcontainers\n    - OpenAPI: Fiber Swagger\n    - Environment: Godot\n- Keycloak as Auth Server\n- Distributed tracing\n    - OpenTelemetry, Micrometer and Jaeger\n- Swagger\n    - Swaggo \u0026 Fiber Swagger\n    - Customized with command **make swagger** \n    - Auditory\n    - Gorm custom auditory\n- Database\n    - Postgres for the app\n    - Testcontainers for testing\n\n## Files\n- [Dockerfile](https://github.com/javiorfo/go-microservice-users/tree/master/Dockerfile)\n\n## Usage\n- Executing `make help` all the available commands will be listed. \n- Also the standard Go commands could be used, like `go run main.go`\n\n## Services\n- **Create users** POST: /users\n- **Get users** GET: /users\n- **Get user by ID** GET: /users/{id}\n- **Login** POST: /users/login\n\n---\n\n### Donate\n- **Bitcoin** [(QR)](https://raw.githubusercontent.com/javiorfo/img/master/crypto/bitcoin.png)  `1GqdJ63RDPE4eJKujHi166FAyigvHu5R7v`\n- [Paypal](https://www.paypal.com/donate/?hosted_button_id=FA7SGLSCT2H8G)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaviorfo%2Fgo-microservice-users","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaviorfo%2Fgo-microservice-users","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaviorfo%2Fgo-microservice-users/lists"}