{"id":22089829,"url":"https://github.com/speakeasy-api/speakeasy-trpc-example","last_synced_at":"2025-06-15T11:04:11.565Z","repository":{"id":231394888,"uuid":"781685443","full_name":"speakeasy-api/speakeasy-trpc-example","owner":"speakeasy-api","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-03T21:11:32.000Z","size":134,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-15T23:56:01.755Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/speakeasy-api.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}},"created_at":"2024-04-03T21:04:14.000Z","updated_at":"2024-04-03T21:11:36.000Z","dependencies_parsed_at":"2024-04-03T22:26:53.970Z","dependency_job_id":"eeae279d-9421-4df1-844f-813196cc2991","html_url":"https://github.com/speakeasy-api/speakeasy-trpc-example","commit_stats":null,"previous_names":["speakeasy-api/speakeasy-trpc-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-api%2Fspeakeasy-trpc-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-api%2Fspeakeasy-trpc-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-api%2Fspeakeasy-trpc-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-api%2Fspeakeasy-trpc-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/speakeasy-api","download_url":"https://codeload.github.com/speakeasy-api/speakeasy-trpc-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245181550,"owners_count":20573718,"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-12-01T02:14:24.665Z","updated_at":"2025-03-23T22:49:19.957Z","avatar_url":"https://github.com/speakeasy-api.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003ca href=\"[Speakeasy](https://speakeasyapi.dev/)\"\u003e\n  \u003cimg src=\"https://github.com/speakeasy-api/speakeasy/assets/68016351/e959f81a-b250-4003-8c5c-a45b9463fc95\" alt=\"Speakeasy Logo\" width=\"400\"\u003e\n\u003ch2\u003eSpeakeasy tRPC OpenAPI Example\u003c/h2\u003e\n\u003c/a\u003e\n\n\u003c/div\u003e\n\nThis example tRPC app demonstrates Speakeasy-recommended practices for generating clear OpenAPI specifications and SDKs.\n\n## Prerequisites\n\nYou need to have [Node.js](https://nodejs.org/) installed on your system to run this project.\n\nTo generate an SDK, you'll also need the Speakeasy CLI installed, or use the Speakeasy dashboard.\n\n## Installation\n\nTo install the application on your local machine:\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/speakeasy-api/speakeasy-trpc-example.git\n```\n\n2. Navigate into the directory:\n```bash\ncd speakeasy-trpc-example\n```\n\n3. Install all dependencies for the application using Yarn:\n```bash\nnpm install\n```\n\n4. [Install Speakeasy CLI](https://github.com/speakeasy-api/speakeasy#installation):\n```bash\nbrew install speakeasy-api/homebrew-tap/speakeasy\n```\n\n## Running the application\n\n### Working with the OpenAPI specification\n\nTo generate an OpenAPI spec in YAML format, run:\n\n```bash\nnpm run generate-openapi\n```\n\nAdditionally, you can generate both the specification file and a TypeScript SDK for your API using:\n\n```bash\nnpm run generate-openapi-and-sdk\n```\n\n## License\n\nThis project is licensed under the terms of the Apache 2.0 license.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspeakeasy-api%2Fspeakeasy-trpc-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspeakeasy-api%2Fspeakeasy-trpc-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspeakeasy-api%2Fspeakeasy-trpc-example/lists"}