{"id":22783889,"url":"https://github.com/armingodiz/gook-users-api","last_synced_at":"2025-04-15T18:26:44.307Z","repository":{"id":57642389,"uuid":"338024011","full_name":"Armingodiz/Gook-Users-API","owner":"Armingodiz","description":"users API for Gook ","archived":false,"fork":false,"pushed_at":"2021-02-21T12:05:40.000Z","size":34,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T23:33:45.771Z","etag":null,"topics":["golang","mvc-architecture","mysql","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Armingodiz.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":"2021-02-11T12:34:18.000Z","updated_at":"2021-05-08T14:39:09.000Z","dependencies_parsed_at":"2022-09-26T20:22:12.834Z","dependency_job_id":null,"html_url":"https://github.com/Armingodiz/Gook-Users-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/Armingodiz%2FGook-Users-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armingodiz%2FGook-Users-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armingodiz%2FGook-Users-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armingodiz%2FGook-Users-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Armingodiz","download_url":"https://codeload.github.com/Armingodiz/Gook-Users-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249127919,"owners_count":21217050,"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":["golang","mvc-architecture","mysql","rest-api"],"created_at":"2024-12-11T22:09:42.120Z","updated_at":"2025-04-15T18:26:44.278Z","avatar_url":"https://github.com/Armingodiz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gook-Users-API\n\n\nThis is one of the [Gook](https://github.com/Armingodiz/Gook) services which provide DB for saving users and intractions with oauth api for login and creating access token which follow mvc design pattern .\n\n## Features \n\n* Signup user \n* Find user with specefic id \n* Update users information\n* Search for users\n* Delete user\n* An end point for oauth api to login user\n\n## Dependencies\nname     | repo\n------------- | -------------\n  gin-gonic   | https://github.com/gin-gonic/gin\n  mysql driver| github.com/go-sql-driver/mysql\n  crypto/md5  | https://golang.org/pkg/crypto/md5/\n  \n\n## Installation\n\nFirst make sure you have installed all dependencies ,\ncreate a scheme in your mysql connection and a table for users then go to `Gook-Users-API/datasources/mysql/users_db/users_db.go`\nand set your mysql configurations . \nThen just simply clone this repository and start service with `go run main.go` (your service will be running on `localhost:1111`)\n\n\n## EndPoints \n\n\tPOST == \u003e /users (create or signup the user with given informations as json)\n\tGET ==\u003e /users/:user_id (return user with given id)\n\tPUT == \u003e /users/:user_id  (update)\n\tPATCH ==\u003e /users/:user_id (partial update)\n\tDELETE ==\u003e /users/:user_id (Delete user with given id)\n\tGET == \u003e /internal/users/search (Search for users)\n\tPOST ==\u003e /users/login (oauth API use this endpoint for Login)\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmingodiz%2Fgook-users-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farmingodiz%2Fgook-users-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmingodiz%2Fgook-users-api/lists"}