node js install - Stu-emhTrade/sailmate GitHub Wiki

We're using node js to write the logger, and ultimately the server for the app. Whilst this means potentially re-writing some of the functionality that is already in the great CANBoat project, we've made the choice to use node because of the canbus modules available, and largely due to socket.io which should allow us to really easily stream data from the network out to the app. -- this might change.

Install node js and npm on the pi by following these easy steps: https://www.instructables.com/id/Install-Nodejs-and-Npm-on-Raspberry-Pi/

Then we're going to pull down a few modules. These should come down if you clone the repo, but...

firs make a project npm init from the project directory

then get modules npm install socketcan --save npm install @canboat/canboat.js --save