A simple bootstrap Node REST api example using Koa micro framework and Sequelize ORM.
As default this example use sqlite3.
Node.js 6.x
npm install
npm run build
npm test
npm run dev
npm start
Will be available on http://localhost:3000
GET /healthcheck
{
service: true,
database: true
}
GET /persons
[
{
id: 1,
firstName: "John",
lastName: "Hancock",
createdAt: "2016-07-26T19:59:25.253Z",
updatedAt: "2016-07-26T19:59:25.253Z"
}
]