A CRUD for form in Node.js n mySQL.
*for newbies : Clone or download zip to your machine then hit this :
npm install
node app.js
- Running @
localhost:4300
- Navigate to
/customers
- If
/customers
nit working then go to/customers/add
app.js
host: 'localhost',
user: 'userEHX',
password : 'hMmx56FN4GHpMXOl',
port : 3306, //port mysql
database:'sampledb'
- You're gonna need to create a DB named 'sampledb'
- Then import
customer.sql
into it