Dashboard Notes

Setting Up Node

Let’s see how this goes.

Note on processor architectures: x86, x64 and ARM are all types of processor architectures (as far as I understand). They also have something to do with instruction sets and it all gets complicated and over my head very fast. Main point: You can get different linux installers for node and I think it’ll just be the x64 version. Although it may not even matter because I might just use apt-get. Cool.

K Let’s Make Something

Following the TutorialsPoint tutorial: https://www.tutorialspoint.com/nodejs

Another good tut here: https://docs.npmjs.com/getting-started/what-is-npm

Node Hero: https://blog.risingstack.com/node-hero-node-js-project-structure-tutorial/

https://medium.com/codebase/structure-of-a-nodejs-api-project-cdecb46ef3f8

https://blog.codeship.com/advanced-node-js-project-structure-tutorial/

https://www.codementor.io/mattgoldspink/nodejs-best-practices-du1086jja

Modules

So like python you import stuff. You do this with require:

var http = require('http')