A simple nodejs server for sharing site paths
It's simple, download this project create a database like below.
mysql> CREATE DATABASE mydb; mysql> USE mydb; mysql> CREATE TABLE linkphim (id SMALLINT UNSIGNED AUTO_INCREMENT PRIMARY KEY, link TEXT NOT NULL);
Create a crontab to make this service automatic startup
@reboot cd /home/pi/"nodejs share-link-server"/ && /usr/bin/node /home/pi/"nodejs share-link-server"/server.js
See my blog for any problem: https://baotden.wordpress.com/?p=87