Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

run node api on rapberry pi

sudo apt install npm nodejs
#copy your api on your pi and cd into your project
npm install
node index.js #test if your application is working
sudo npm install -g pm2
pm2 start insex.js
 
PREVIOUS NEXT
Tagged: #run #node #api #rapberry #pi
ADD COMMENT
Topic
Name
1+3 =