{"id":17859292,"url":"https://github.com/dex4er/ts-node-github-api-example","last_synced_at":"2025-03-20T19:30:49.907Z","repository":{"id":34844221,"uuid":"184047060","full_name":"dex4er/ts-node-github-api-example","owner":"dex4er","description":"Example of Github API v4 client written in Typescript with Apollo library","archived":false,"fork":false,"pushed_at":"2025-03-09T02:08:44.000Z","size":118,"stargazers_count":1,"open_issues_count":12,"forks_count":1,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-03-09T03:18:13.704Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/dex4er.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-29T10:06:15.000Z","updated_at":"2020-08-03T04:51:56.000Z","dependencies_parsed_at":"2024-01-30T23:46:18.836Z","dependency_job_id":"0e9014a0-7623-4ed5-8592-6f65cb3594dd","html_url":"https://github.com/dex4er/ts-node-github-api-example","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/dex4er%2Fts-node-github-api-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dex4er%2Fts-node-github-api-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dex4er%2Fts-node-github-api-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dex4er%2Fts-node-github-api-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dex4er","download_url":"https://codeload.github.com/dex4er/ts-node-github-api-example/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244079700,"owners_count":20394782,"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":[],"created_at":"2024-10-28T06:42:16.934Z","updated_at":"2025-03-20T19:30:49.492Z","avatar_url":"https://github.com/dex4er.png","language":"TypeScript","readme":"# @dex4er/ts-node-github-api-example\n\n\u003c!-- markdownlint-disable MD013 --\u003e\n\n[![Travis CI](https://secure.travis-ci.org/dex4er/ts-node-github-api-example.svg)](http://travis-ci.org/dex4er/ts-node-github-api-example) [![GitLab Pipelines](https://gitlab.com/dex4er/ts-node-github-api-example/badges/develop/build.svg)](https://gitlab.com/dex4er/ts-node-github-api-example/pipelines)\n\n\u003c!-- markdownlint-enable MD013 --\u003e\n\nThis is an example of Github API v4 client written in Typescript with Apollo library.\n\nAdditionaly this project provides a Gitlab pipeline configuration which\nproduces binary packages stored in artifacts repository:\n\u003chttps://gitlab.com/dex4er/ts-node-github-api-example-packages\u003e\n\n## Requirements\n\nThis package requires ES6 with Node \u003e= 8.\n\n## Usage\n\nIn working directory:\n\n### dependencies\n\n```shell\nyarn\n```\n\n### token\n\n```shell\ncp .env.example.sh .env\nedit .env\n```\n\n### schema offline\n\n```shell\ngit submodule sync\ngit submodule update --init\n# to download the latest later:\ngit submodule update --remote\n```\n\n### schema online\n\n```shell\nyarn github-apiv4-get-schema\n```\n\n### schema download for offline\n\n```shell\nyarn github-apiv4-get-stubby\n```\n\n### schema to typescript\n\n```shell\nyarn codegen\n```\n\n### compile\n\n```shell\nyarn compile\n```\n\n### run offline for testing\n\n```shell\nyarn github-apiv4-viewer-query:stubby\n```\n\n### run online\n\n```shell\nyarn github-apiv4-viewer-query\n```\n\n## License\n\nCopyright (c) 2019 Piotr Roszatycki \u003cpiotr.roszatycki@gmail.com\u003e\n\n[MIT](https://opensource.org/licenses/MIT)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdex4er%2Fts-node-github-api-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdex4er%2Fts-node-github-api-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdex4er%2Fts-node-github-api-example/lists"}