Create Nodejs Backend Next Level

Step 1: Create a folder name of you project

  • first of all you need to create a folder of you project

  • initialize typescript in your project

      tsc --init
    
  • after initailize typescript it will be create a file tsconfig.json file in your project folder.

  • Oper proejct folder in VS Code . And now open tsconfig.json file. In this file search or find

    "rootDir": "./"
    "outDir": "./"

    • Now you will uncommet this two line and edit with

         "rootDir": "./src"
      
        "outDir": "./dist"
      

https://dev.to/shafayat/-express-typescript-eslint-prettiersetup-5fhg?fbclid=IwY2xjawGsKvJleHRuA2FlbQIxMAABHbh-2Rm_wH3KqA_VXg11DkrFD3fTs6yHjcb3EabT_rat9oz7pSGtNlb0NA_aem_pz0Up0uoWOV-FscYnb0B-w