{"id":21577971,"url":"https://github.com/coderbyheart/strongly-type-third-party-integrations-with-typescript","last_synced_at":"2025-08-01T18:11:51.866Z","repository":{"id":262535714,"uuid":"886300387","full_name":"coderbyheart/strongly-type-third-party-integrations-with-typescript","owner":"coderbyheart","description":"Slides for my talk 'Strongly type third-party integrations with TypeScript'","archived":false,"fork":false,"pushed_at":"2025-04-29T22:25:20.000Z","size":197,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"saga","last_synced_at":"2025-07-24T04:49:49.240Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://coderbyheart.github.io/strongly-type-third-party-integrations-with-typescript/","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coderbyheart.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,"zenodo":null}},"created_at":"2024-11-10T17:50:41.000Z","updated_at":"2025-04-29T22:25:23.000Z","dependencies_parsed_at":"2025-03-18T07:27:50.398Z","dependency_job_id":"1e9dfa9b-e869-42fa-a847-776729bcc61b","html_url":"https://github.com/coderbyheart/strongly-type-third-party-integrations-with-typescript","commit_stats":null,"previous_names":["coderbyheart/strongly-type-third-party-integrations-with-typescript"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coderbyheart/strongly-type-third-party-integrations-with-typescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderbyheart%2Fstrongly-type-third-party-integrations-with-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderbyheart%2Fstrongly-type-third-party-integrations-with-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderbyheart%2Fstrongly-type-third-party-integrations-with-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderbyheart%2Fstrongly-type-third-party-integrations-with-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderbyheart","download_url":"https://codeload.github.com/coderbyheart/strongly-type-third-party-integrations-with-typescript/tar.gz/refs/heads/saga","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderbyheart%2Fstrongly-type-third-party-integrations-with-typescript/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268273026,"owners_count":24223790,"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-08-01T02:00:08.611Z","response_time":67,"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-11-24T13:09:07.126Z","updated_at":"2025-08-01T18:11:51.843Z","avatar_url":"https://github.com/coderbyheart.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Strongly type third-party integrations with TypeScript\n\n[![Publish](https://github.com/coderbyheart/strongly-type-third-party-integrations-with-typescript/actions/workflows/publish.yaml/badge.svg)](https://github.com/coderbyheart/strongly-type-third-party-integrations-with-typescript/actions/workflows/publish.yaml)\n\nSlides for my talk\n\n- [Markdown](./slides.md)\n- [Interactive](https://coderbyheart.github.io/strongly-type-third-party-integrations-with-typescript/index.html)\n\n## Abstract\n\nMany of us have to integrate third-party APIs, and we cannot trust their\ndocumentation. We also need to track when their data format changes. The same is\ntrue for integrating our own (or other teams’) microservices. I will show how we\ndo this in an effective and flexible way using TypeScript.\n\nIn this talk, I will present my approach to doing this safely with TypeScript\nand how this enables end-to-end contract testing which I have been using for\nmany years and consider one of the robust best practices we apply basically in\nall of our web application projects.\n\nThis is a very practical, hands-on talk with many concrete examples that will\ngive the audience a clear guide on how to build robust, well documented system\nintegrations.\n\nWe leverage NPM modules to version our API definition and create a clear source\nof truth for all your integrations, be it a REST API, WebSocket or CoAP\nmessages-the same principle applies.\n\n## The three main takeaways are:\n\n1. learn about [TypeBox](https://github.com/sinclairzx81/typebox) and how I use\n   it to make integrations of third-party APIs type-safe\n1. see a code-example where a frontend-application runs against a mock-API using\n   these types\n1. get to know techniques to discover breaking API changes through monitoring\n\n## Viewing\n\nAn up-to-date version is published to\n[GitHub pages](https://coderbyheart.github.io/strongly-type-third-party-integrations-with-typescript/index.html).\n\nPress `s` to show the speaker notes.\n\n### Locally\n\nOpen the project using\n[Dev Container](https://code.visualstudio.com/docs/remote/containers).\n\nOpen two shells:\n\n1. `npm run watch`\n2. `npm start`\n\nYou can now view the slides at \u003chttp://127.0.0.1:8000\u003e.\n\n## Building\n\nRender to reveal.js:\n\n    make build\n\nRender to PowerPoint (useful for copying to a PowerPoint template):\n\n    make public/slides.pptx\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderbyheart%2Fstrongly-type-third-party-integrations-with-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderbyheart%2Fstrongly-type-third-party-integrations-with-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderbyheart%2Fstrongly-type-third-party-integrations-with-typescript/lists"}