Timeline of what I loved so far
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
Make {timestamp}.json
file in /loves folder and write something like this
{
"url": "https://youtu.be/djV11Xbc914",
"comment": "Take On Me by a-ha",
"timestamp": 1495651099
}
and rebuild
npm run build
To deploy your loves, simply run app.js script
# It uses 80 port so you need to be sudoer
node app.js