Website
TODO:
buttons https://getbootstrap.com/docs/4.0/components/buttons/
Note if you're new to Unix: /var/www/myapp/app.js should have #!/usr/bin/env node
on the very first line.
Copy your service file into the /etc/systemd/system.
Start it with systemctl start myapp.
Enable it to run on boot with systemctl enable myapp.
See logs with journalctl -u myapp
npm install forever -g
forever start /path/to/yourApp.js
The screen will detach and survive you logging off. Then you can get it back back doing screen -r. Hit up the screen manual for more details. You can name the screens and whatnot if you like
screen
node myserver.js
CTRL-A then hit D