Write TypeScript Programs with GitHub CoPilot

Published: 03 June 2024
on channel: bonsaiilabs
98
1

In this video, we explore how to write a TypeScript program that connects to GitHub using its API to fetch user data and then display it in a table. We demonstrate this process with the help of GitHub Copilot, showcasing how it assists in code completion and generation. The tutorial covers setting up a project using bun.sh as a TypeScript compiler, fetching data from GitHub, creating and utilizing TypeScript types, and formatting the output in a table. Watch as GitHub Copilot helps us streamline the coding process, turning an empty file into a functional program.

00:00 Introduction and Overview
00:45 Setting Up the Project
01:14 Leveraging GitHub Copilot
01:54 Writing the GitHub User Function
03:11 Running and Testing the Program
03:28 Creating and Using Types
05:05 Pretty Printing User Data
06:26 Printing Data in a Table
07:48 Final Testing and Summary


Watch video Write TypeScript Programs with GitHub CoPilot online, duration hours minute second in high quality that is uploaded to the channel bonsaiilabs 03 June 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 98 times and liked it 1 visitors.