How to set up a Node Project With Typescript

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • TypeScript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    Node.js is an open-source JavaScript runtime environment for building server(backend) applications. To add type checking something that is not present in plain JavaScript we use Typescript. Typescript makes our code more secure and robust. Mainly it will help us to reduce bugs in our code. Here i'll give you the step by step instructions to setup your next Node.js project with Typescript.

  • Nodemon.io

    Monitor for any changes in your node.js application and automatically restart the server - perfect for development

    Additionally i'm using nodemon which will help us by automatically restarting our server when we make changes to our files. For nodemon to work with typescript we need another dependency called ts-node. To install both run the below command.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • Express

    Fast, unopinionated, minimalist web framework for node.

    Now install express and it's type definitions with the below commands.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts