View Code? Open in Web Editor
NEW
Nodejs Restful API for CRUD operation using MySQL
Home Page: http://www.restapiexample.com/rest-api-tutorial/create-rest-api-using-node-js-mysql-express/
nodejs-restapi-using-express-mysql's People
Contributors
Watchers
nodejs-restapi-using-express-mysql's Issues
I configured the env, run the server and try on postman, look the result (showing my user and password).
With this controller-model solution, is it possible to handle async-await process?
If so, how can I handle it?
Typo on the table name, should be 'customer' in index.js line 47
Seems to occur if mysqld uses random ports on startup.
Fix: Add the following port to connection options
port : '/var/run/mysql/mysql.sock'