node.js, tests - adriana-401-advanced-javascript/seattle-javascript-401n13 GitHub Wiki

Node.js

Node is a public, program that runs locally and can be working side by side with a browser. It runs in real-time so it is very useful for the developer to use. You do not need to wait for a return to know what is going on at any given moment.

The way we have used node is by running nodemon with a full stack application, it uses the terminal alongside the web browser and returns results in real time that help troubleshoot and manage what is going on at all times.

Testing

When writing a test, it's important to really think through what the outcome is. Fully understand the problem. This makes a lot more work for the developer because you are constantly running into bugs. But it can also make it more rewarding, you are fully understanding your code and reaching its limit versus finding a hackey solution.