Version: 1.0.0 Author: https://danbirlem.com
An simple example MySQL + Node.js CRUD app. Hopefully, this sample app can help people trying to learn Node.js with simple MySQL integration.
Includes a list page, /add page, /edit page and /delete function.
- Clone from this repo and from app root, run
npm install - Import
latelist.sql.zipto a MySQL database - Update
app.jsfor db + port config - Update
package.jsonwith thehomepagethat fits your install node app.jsto launch
I like to use forever to run node servers. You can install with npm install -g forever. From the app root, run:
forever start -w ./app.js