This repo is a good starting point for anyone trying this for the first time.
- MySQL with username/password
- node installed (duh)
npm install
- edit host, user, and password for mysql database
- In your mysql server run db.sql to create table for API to interact with
- run
node app.js
- open browser and go to localhost:8080/
- to see users from your database go to localhost:8080/user/1
- to see another user go to localhost:8080/user/2
- to see all users go to localhost:8080/users/