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.zip
to a MySQL database - Update
app.js
for db + port config - Update
package.json
with thehomepage
that fits your install node app.js
to 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