Member-only story
Migrating a Javascript ExpressJS based to Typescript
In this article I will give a quick tips to convert your Javascript project to Typescript using a real sample.

Hi everyone, recently I gave a look in a very nice article that talks about functional dependencies and compares the Node.JS way with .NET. In the article the Author Eduard Bargues creates a Git repo with the .NET and two Node.JS projects with Javascript. You can read his article here:
To start, I forked his repo and I am aiming to convert his Javascript code into Typescript from one of his sub-project that in this case is nodejs-functional-di.
The folder and file structure is defined as:

The project is small since he was aiming to show the usage of functional dependency injections in Node.JS, but at the same moment things there make sense. Let’s get started