{"id":26741081,"url":"https://github.com/aaronhayes/graphql-rest-typescript-example","last_synced_at":"2026-05-01T08:31:15.863Z","repository":{"id":38807581,"uuid":"190832363","full_name":"aaronhayes/graphql-rest-typescript-example","owner":"aaronhayes","description":"Apollo + Sofa + Swagger UI + TypeScript Example","archived":false,"fork":false,"pushed_at":"2022-12-10T18:30:52.000Z","size":368,"stargazers_count":1,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-02T01:36:15.124Z","etag":null,"topics":["apollo","apollo-server","apollo-server-express","express","graphql","rest","sofa","swagger-ui","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/aaronhayes.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":"2019-06-08T01:31:02.000Z","updated_at":"2021-04-04T19:56:05.000Z","dependencies_parsed_at":"2022-09-18T10:21:37.546Z","dependency_job_id":null,"html_url":"https://github.com/aaronhayes/graphql-rest-typescript-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aaronhayes/graphql-rest-typescript-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronhayes%2Fgraphql-rest-typescript-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronhayes%2Fgraphql-rest-typescript-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronhayes%2Fgraphql-rest-typescript-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronhayes%2Fgraphql-rest-typescript-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronhayes","download_url":"https://codeload.github.com/aaronhayes/graphql-rest-typescript-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronhayes%2Fgraphql-rest-typescript-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32490810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["apollo","apollo-server","apollo-server-express","express","graphql","rest","sofa","swagger-ui","typescript"],"created_at":"2025-03-28T05:29:36.503Z","updated_at":"2026-05-01T08:31:15.847Z","avatar_url":"https://github.com/aaronhayes.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Apollo Express + Sofa + Swagger UI Example\n\nThis is a basic example of settings up a GraphQL Server using Typescript and wrapping those endpoints with automatically generated REST APIs. We're using Sofa to use generate the REST APIs, and swagger to expose documentation.\n\n## Getting Started\n\n1. Install Node Depdencies `yarn`\n2. Start Express Server `yarn start`\n\nThis produces three endpoints:\n\n- [GraphQL Server - http://localhost:4123/graphql](http://localhost:4123/graphql)\n- [Swagger UI - http://localhost:4123/docs](http://localhost:4123/docs)\n- [REST API Endpoint - http://localhost:4123/api](http://localhost:4123/api)\n\n## Further Readings\n\n- [Apollo Server](https://www.apollographql.com/docs/apollo-server/)\n- [Sofa REST](https://sofa-api.com)\n- [Swagger UI](https://github.com/scottie1984/swagger-ui-express)\n- [TypeScript](https://www.typescriptlang.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronhayes%2Fgraphql-rest-typescript-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronhayes%2Fgraphql-rest-typescript-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronhayes%2Fgraphql-rest-typescript-example/lists"}