One way to use SequelizeJS. Integrate with your favorite nodejs http-server module.
$ git clone https://github.com/vsnikkil/sequelize-test
$ cd sequelize-test
$ npm install && npm start
const db = require('db') // Returns the db promise (ready after sync)
const Person = db.Models.Person
// Create two persons after db has synced
db.then(() => Person.create({ name: 'Max Smith', age: 12 }))
.then(() => Person.create({ name: 'Luke Skywalker', age: 60 }))