Adding TypeScript to the official Apollo Platform Tutorial app

In today's video, I go through the preparation of the official Apollo Platform Tutorial App ( https://github.com/apollographql/fullstack-tutorial ) for adding Chimp to it. I decided to divide that task into two steps - the first is adding TypeScript to the codebase. This way I will be able to demonstrate the process of adding Chimp in a much more concise and understandable way - without spending half of the time on fighting with types.

This is an uncut version of me doing the work - it's a bit smoother than it should be because I've done half of the work before trying to add Chimp and TypeScript at the same time - nonetheless you can see my workflow and learn some tricks :)

Around the 35-minute mark, I had to do a bit of a fight with Generic, I used quokka and quick prototyping to get out of that mess, which can be interesting to watch.

I hope you enjoy it. :-)


Let me know if you have any questions or thoughts in the comments below.


Let us help you on your journey to Quality Faster

We at Xolv.io specialize in helping our clients get more for less. We can get you to the holy grail of continuous deployment where every commit can go to production — and yes, even for large enterprises.

Feel free to schedule a call or send us a message below to see how we can help.

User icon
Envelope icon

or

Schedule a 30m call
  • For loops in JavaScript (vs _.times)

    From time to time I still see a for loop in JavaScript codebases. Linters are frequently angry about them. Let's see how we can replace them.

  • Sharing scalars between modules with Chimp

    Simplify your Chimp-based project even further with a new @predefined Scalar directive.

  • AWS CDK Lambda and DynamoDB dependency management

    A discussion about issues we've stumbled upon and a solution that simplified our CDK workflow.