2. Create project for server

01

Create Project for node server in vs code, open project in new vs code window, You can now run;

node

Instead of running js in browswer you are nonw running it in your local terminal

Press cntrl + c twice to quit

02

Run the server file with node <filename> Remember you do NOT need .js

node server

Instead of running js in browswer you are nonw running it in your local terminal

Press cntrl + c twice to quit