{"id":20554920,"url":"https://github.com/armingodiz/gook","last_synced_at":"2025-07-15T01:15:26.952Z","repository":{"id":57566532,"uuid":"338018209","full_name":"Armingodiz/Gook","owner":"Armingodiz","description":"My first rest microservice project !","archived":false,"fork":false,"pushed_at":"2021-02-21T13:03:09.000Z","size":77,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-20T07:49:14.207Z","etag":null,"topics":["docker","gin-gonic","golang","microservice","mvc-pattern","mysql"],"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:08:07.000Z","updated_at":"2023-04-18T17:22:12.000Z","dependencies_parsed_at":"2022-08-27T19:02:26.525Z","dependency_job_id":null,"html_url":"https://github.com/Armingodiz/Gook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Armingodiz/Gook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armingodiz%2FGook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armingodiz%2FGook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armingodiz%2FGook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armingodiz%2FGook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Armingodiz","download_url":"https://codeload.github.com/Armingodiz/Gook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armingodiz%2FGook/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265384408,"owners_count":23756715,"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","gin-gonic","golang","microservice","mvc-pattern","mysql"],"created_at":"2024-11-16T03:14:30.770Z","updated_at":"2025-07-15T01:15:26.910Z","avatar_url":"https://github.com/Armingodiz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gook\n\nRest microservice for saving items informations and signup\u0026Login user .\n\n## Services  \n\n* [Users-API](https://github.com/Armingodiz/Gook-Users-API)\n* [Oauth-API](https://github.com/Armingodiz/Gook-oauth-API)\n* [Items-API](https://github.com/Armingodiz/Gook-Items-API)\n\n\n## Used Databases \n\n* redis\n* mysql\n\n\n## Practiced design patterns\n\n*  MVC in Users-API \u0026 Items-API\n*  Domain driven development in Oauth-API\n\n\n\n## Dependencies\n\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  redis       | https://github.com/go-redis/redis\n  gorilla-mux | https://github.com/gorilla/mux\n  \n\n\n## Installation \n\nFirst make sure you have installed all dependencies ,\nGo to each service repository and install and run it .\n\n\n## USER API EndPoints \n\n\t* POST == \u003e localhost:1111/users (create or signup the user with given informations as json)\n\t* GET ==\u003e localhost:1111/users/:user_id (return user with given id)\n\t* PUT == \u003e localhost:1111/users/:user_id  (update)\n\t* PATCH ==\u003e localhost:1111/users/:user_id (partial update)\n\t* DELETE ==\u003e localhost:1111/users/:user_id (Delete user with given id)\n\t* GET == \u003e localhost:1111/internal/users/search (Search for users)\n\t* POST ==\u003e localhost:1111/users/login (oauth API use this endpoint for Login)\n  \n## Oauth API EndPoints \n  \n  \t* GET ==\u003e localhost:2222/oauth/access_token/:access_token_id (Get Access token by id)\n  \t* POST ==\u003e localhost:2222/oauth/access_token (Create Access token)\n  \n## Oauth API EndPoints \n    \n \t * POST ==\u003e 127.0.0.1:3333/items  (Create item)\n  \t * GET ==\u003e 127.0.0.1:3333/items/{id} (Get item by id)\n  \t * POST ==\u003e 127.0.0.1:3333/items/search (Search for users)\n\n# Overal view \n\n![view](view.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmingodiz%2Fgook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farmingodiz%2Fgook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmingodiz%2Fgook/lists"}