TypeScript NodeJS Express

Hidayat Arghandabi
The Startup
Published in
4 min readJun 8, 2020

--

JavaScript has been helping developers to power the Internet since 1995. It was introduced as a client-side programming language.

The development of Node.js has marked JavaScript as an emerging server-side technology. Node.js is an open-source, cross-platform, JavaScript runtime environment that executes JavaScript code outside a web browser.

In this article, I will show you how to build a Typescript based Node js web API using Express.js. We will use static types in development.

Codes GitHub Link

What is TypeScript?

TypeScript is a strongly typed, object-oriented, compiled language. It was designed by Anders Hejlsberg, the designer of C# at Microsoft. TypeScript is both a language and a set of tools.

It’s a flexible superset of JavaScript with ways to describe optional data types. It is compiled to JavaScript at the end. All standard and valid JavaScript is also valid TypeScript.

Why Use TypeScript?

  • Compilation: JavaScript is an…

--

--