Skip to content

Instantly share code, notes, and snippets.

var ApiBuilder = require('claudia-api-builder'),
api = new ApiBuilder();
module.exports = api;
api.get('/hello', function () {
return 'hello world';
});
var ApiBuilder = require('claudia-api-builder'),
api = new ApiBuilder();
module.exports = api;
api.get('/hello', function () {
return 'hello world';
'use strict'
module.exports = (sequelize, DataTypes) => {
const Characters = sequelize.define('characters', {
characterId:{
type:DataTypes.INTEGER,
primaryKey: true
},
name:DataTypes.STRING,
'use strict'
module.exports = (sequelize, DataTypes) => {
const Characters = sequelize.define('characters', {
characterId:{
type:DataTypes.INTEGER,
primaryKey: true
},
name:DataTypes.STRING,