foundersandcoders / coursebook

The new coursebook
https://learn.foundersandcoders.com
Other
50 stars 23 forks source link

Typescript workshop #961

Closed oliverjam closed 6 months ago

oliverjam commented 6 months ago

Adds a new workshop covering TypeScript from the perspective of JS devs who haven't used TS much. I haven't added it to the schedule since it looks like you're in the process of finalising that in another PR.

https://deploy-preview-961--fac-coursebook.netlify.app/learn/typescript/

Let me know if you think there's anything that isn't covered that the learners will need (or if I've covered anything that's unnecessary for them at this stage).

The first half covers getting a generic Node codebase working with TS (i.e. compiling and setting up dev environment). The second half follows along building a simple todo app that slowly introduces what I think are the most important TS features.

oliverjam commented 6 months ago

I've also create the challenge repo here: https://github.com/foundersandcoders/typescript-challenge

It's a bit minimal but honestly I was struggling to come up with ways to practice TS that weren't just adding types to katas. It sounds like they're going to get lots of practice throughout the course either way, so this is just to reinforce the basics they get in the workshop :)