This is an example of RESTful CRUD with MVC in Node.js n mySQL.
for template : https://github.com/zuramai/mazer
Live DEMO: -
*for newbies : Clone or download zip to your machine then hit this :
cd warung-e
then
npm i
server.js
host: 'localhost',
user: 'root',
password : '',
port : 3306, //port mysql
database:'warung-e'
You're gonna need to create a DB named 'warung_e' or whatever you name it, import pembelian.sql
And type: localhost:3000/pembelian