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 opentsconfig.json
file. In this file search or find"rootDir": "./"
"outDir": "./"
Now you will uncommet this two line and edit with
"rootDir": "./src"
"outDir": "./dist"