Skip to content

read and add data to sqlite-db with node, show a chart

License

Notifications You must be signed in to change notification settings

src-mgra/node-sqlite-chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-sqlite-chart - HowTo

Example for

  • reading data from file
  • add data to sqlite-database
  • show data in a chart

cmd + url

node addData2sqlite.js node importFile event.txt cmd: node showChart.js URL: http://localhost:3005

needed packages

"chart.js": "^2.7.2",

"express": "^4.16.3",

"sqlite3": "^4.0.2"