Question:
I am trying to startup a node.js server project. Very simple project where REST API calls such as GET returns a counter of how many times the server has had the GET requests.
I do not understand
-
How can i test this locally? Where can i run Curl for instance (where is the terminal)? IN the console, curl is not recognized (nor dir, ls … etc).
-
How can I choose port in the correct way?
-
How do i find the IP adress so that i can test this online?
-
Is there anything i need to do in order to have this code available online (so i can run CURL commands from my PC to test) ?
My project name: NodeHelloWorldCounter
Repl link:
code snippet