diegochiquero / express-waterline-mysql

Basic example of Express.js + WaterLine ORM for MySQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Express.js + Waterline ORM (MySQL)

Basic example of Express.js + WaterLine ORM for MySQL

Prerequisites

  • Node 6.13
  • Express 4.15.2
  • WaterLine 0.11.11

How do I start?

  1. Clone this repository
  2. npm install
  3. Set user and password to connect with your mySql database in the following file config/connections.js
  4. Run db_utils.js file node db_utils.js to create mySql database and insert some users
  5. npm start
  6. Browse to http://localhost:3000 (or whatever your port is)

About

Basic example of Express.js + WaterLine ORM for MySQL


Languages

Language:JavaScript 76.8%Language:HTML 21.9%Language:CSS 1.3%