This is a simple app with nodejs and mysql.
Basic codes to insert, update, delete and select records from mysql
- mySql
- body-parser
- express
- jade
CREATE TABLE `client` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`companyName` varchar(30) NOT NULL,
`address` varchar(200) NOT NULL,
`manager` varchar(30) NOT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- Clone the repository
- npm install
- Visit
http://localhost:3000/home