ngrok
in blog on speech-recognition, Annyang, javascript
nodejs
curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
sudo apt-get install -y nodejs
https://omnipotent.net/jquery.sparkline/#s-about
https://github.com/nodesource/distributions/blob/master/README.md
https://velopert.com/1351
$ vi server.js
'use strict';
const express = require('express');
const bodyParser = require('body-parser');
const app = express();
app.use(bodyParser.urlencoded({extended: false}));
app.get('/', function (request, response) {
response.send('Hello');
});
app.post('/', function (request, response) {
response.send(request.body);
});
app.listen(3000);
console.log('Open: http://127.0.0.1:3000');
// node.js install
$ curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
$ sudo apt-get install -y nodejs
$ sudo apt-get install -y node-express
$ npm link express
$ npm i -g express
npm install -g ngrok
$ npm install express
$ node server.js
https://github.com/fnando/sparkline
$ apt-get install npm
$ npm install @fnando/sparkline --save