Please head through the following instructions to ensure you will be able to create and start a NodeJS server as well as make requests to it from your local machine once we get into the back end block in a few weeks time.
Don't worry too much about the code in here or if some of the instructions seem ambiguous at this stage as we certainly will be covering it all!
We'd just like to make sure that we won't run into any problems when we get there.
- Fork and clone this repository
- Change directory -
cd insomnia-test
- Install node modules -
npm install
- Start the server listening -
npm start
- You should see the following in your terminal
- Head into Insomnia and make a GET request to the following address -
localhost:9090/test
and clickSend
- If you see the following response from your server on the right hand side of the Insomnia interface, you're all set!
- Stop the server listening -
ctrl + c
in the terminal