{"id":15321885,"url":"https://github.com/codehakase/buycoins-th","last_synced_at":"2025-10-17T19:27:54.758Z","repository":{"id":86391943,"uuid":"352362144","full_name":"codehakase/buycoins-th","owner":"codehakase","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-28T15:24:01.000Z","size":312,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-02-26T15:32:41.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/codehakase.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-03-28T15:13:45.000Z","updated_at":"2024-06-19T06:28:21.055Z","dependencies_parsed_at":null,"dependency_job_id":"e08eb4d0-9628-45ae-a01a-e62c2af51e0c","html_url":"https://github.com/codehakase/buycoins-th","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/codehakase/buycoins-th","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codehakase%2Fbuycoins-th","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codehakase%2Fbuycoins-th/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codehakase%2Fbuycoins-th/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codehakase%2Fbuycoins-th/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codehakase","download_url":"https://codeload.github.com/codehakase/buycoins-th/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codehakase%2Fbuycoins-th/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275213915,"owners_count":25424888,"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","status":"online","status_checked_at":"2025-09-15T02:00:09.272Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-01T09:13:24.993Z","updated_at":"2025-10-17T19:27:49.715Z","avatar_url":"https://github.com/codehakase.png","language":"Go","readme":"# Task README\n\n## Running \u0026 Building application\n\n**Download dependencies with:**\n\n```shell\n$ go mod tidy \u0026\u0026 go mod vendor\n```\n\n**Run application with:**\n\n```shell\n$ go run main.go\n```\n\n**Build application with:**\n\n```shell\n$ go build -o xquestions main.go\n```\n\n**Access the GraphiQL interface:**\nOpen browser to `http://localhost:{PORT}/graphiql`\n\n![Screenshot 2021-03-28 at 15 50 48](https://user-images.githubusercontent.com/9336187/112757015-adb91900-8fdf-11eb-95cf-9954ec6b693e.png)\n\n**Live GraphiQL Playground:**\n[Heroku App](https://buycoins-th.herokuapp.com/)\n\n## Running Tests\n\nIn the root of the application, run `go test ./...` to run all test suites\n\n## GRAPHQL Definitions\n\n### CalculatePrice Query\n\n**Definitions**\n\n- _type:string_\n- _margin:string_\n\n**Query**\n\n```gql\nquery CalculatePrice {\n  calculatePrice(type: \"buy\", margin: 0.2, exchangeRate: 476)\n}\n```\n\n**Response**\n\n```json\n{\n  \"data\": {\n    \"calculatePrice\": 26467774.368\n  }\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodehakase%2Fbuycoins-th","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodehakase%2Fbuycoins-th","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodehakase%2Fbuycoins-th/lists"}