Doing cool things in a pure TypeScript project!

By Alexander Trauzzi

Elevator Pitch

I think we can all agree that nodejs has proven itself! Given that all JavaScript is valid TypeScript, does that then mean that we can write pure TypeScript projects?

Let’s see!

Description

Let’s go through what it might look like to bootstrap a simple TypeScript project to write some data to MongoDB. Along the way, I’ll show some tools and offer insights into how the various ecosystems work together.

Technologies, concepts and libraries to be explored:

  • TypeScript, tsconfig
  • NPM, Yarn and the “new” way to do typings
  • CLI applications
  • Promises and async
  • mongodb

With any time left, I’ll show some more advanced concepts via an open source project I am working on. You’ll get to see docker being used for local development and to build and deploy to Azure from TravisCI via resource templates. Phew!

Most importantly, throughout the presentation I’ll gladly answer any questions on what I’m showing!

Notes

My goal in the presentation will be to look at what makes up a good TypeScript project and showing that it can be used for general purpose development.