Skip to content

Instantly share code, notes, and snippets.

@thgaskell
thgaskell / README.md
Created February 22, 2015 23:57
Sequelize Associations

File Structure:

  • seed_database.js
  • config.json
  • models/
    • index.js
    • User.js
    • UserType.js

Make sure that the SQL configs are in config.json.

@thgaskell
thgaskell / Gulpfile.js
Created March 25, 2014 15:02
Creates a mini development environment for serving static content.
var gulp = require('gulp'),
gutil = require('gulp-util');
var paths = {
css: 'assets/css/**/*.css',
html: 'assets/html/**/*.html',
js: 'assets/js/**/*.js',
img: 'assets/images/**/*.{png,jpg,jpeg,gif}'
};