Basic example of Express.js + WaterLine ORM for MySQL
- Node 6.13
- Express 4.15.2
- WaterLine 0.11.11
- Clone this repository
npm install
- Set user and password to connect with your mySql database in the following file
config/connections.js
- Run db_utils.js file
node db_utils.js
to create mySql database and insert some users npm start
- Browse to http://localhost:3000 (or whatever your port is)