- do an
npm i
- after that. do
npm run debug
- You can clone this repo with
git clone https://github.com/TaimoorHassan/nodets-starter.git
if you have git installed. or you can download the zip file from the green button above.
After you've downloaded this repo.
- right click on
nodets-starter(-master)
folder and clickOpen with Visual Studio Code
. - This should open the repo in vscode
- hit
Ctrl + j
to bring up the terminal and runnpm i
- dependencies should be installed now.
- in the terminal run
npm run debug
to start the program in debug mode - any change you make to
server.ts
file insrc
folder will be immediately reflected. Program will compile andre-run
every time you save that file. This feature is quite helpful during the development. - please have a look at
tsconfig.json
&package.json
as these two files define how your project is made up and how it will behave.
.gitignore
is the file that contains files/directories that we wantgit
to ignore for now there's only node_modules folder that we want to ignore.