Skip to content

Instantly share code, notes, and snippets.

View ninjasort's full-sized avatar
💻
Working remotely

Cameron ninjasort

💻
Working remotely
View GitHub Profile
@ninjasort
ninjasort / crud-app.js
Created April 2, 2017 04:59
CRUD App in Node
import express from 'express'
import bodyParser from 'body-parser'
import mongoose from 'mongoose'
const PORT = process.env.PORT || 8080
const app = express()
// Book
const Schema = mongoose.Schema
@ninjasort
ninjasort / schema.js
Created April 1, 2017 14:19
Schema Design
var mongoose = require('mongoose')
var Schema = mongoose.Schema
/*
Creates a Schema
*/
var BookSchema = new Schema({
title: String,
published: {
type: Date, // sets the type
@ninjasort
ninjasort / sublime-tooling.json
Last active November 13, 2016 01:06
Sublime Tooling
{
"package_control": "https://packagecontrol.io/",
"JavaScript-Completions": "https://github.com/pichillilorenzo/JavaScript-Completions"
}
@ninjasort
ninjasort / tdd.md
Created October 26, 2016 22:11
TDD in JS
{
"generator-babel-webpack": "https://github.com/Pitzcarraldo/generator-babel-webpack",
"generator-react-webpack-redux": "https://github.com/stylesuxx/generator-react-webpack-redux"
}
{
"fastclick": "https://github.com/ftlabs/fastclick"
}
@ninjasort
ninjasort / css-frameworks.json
Last active May 15, 2016 21:43
CSS Frameworks
{
"bulma": "https://github.com/jgthms/bulma",
"corpus": "https://github.com/jamiewilson/corpus",
"basscss": "https://github.com/basscss/basscss",
"csswizardry-grids": "https://github.com/csswizardry/csswizardry-grids",
"kube": "https://github.com/imperavi/kube"
}
@ninjasort
ninjasort / responsive-components.json
Created May 11, 2016 22:59
Responsive Components
{
"responsive-nav.js": "https://github.com/viljamis/responsive-nav.js",
"itemslide": "https://github.com/itemslide/itemslide.github.io"
}
@ninjasort
ninjasort / test-utils.json
Last active May 11, 2016 23:00
Test Utils
{
"mock-fs": "https://github.com/tschaub/mock-fs",
"nock": "https://github.com/node-nock/nock",
"rewire": "https://github.com/jhnns/rewire",
"assert-dir-equal": "https://github.com/ianstormtaylor/assert-dir-equal",
"mocha": "https://github.com/mochajs/mocha",
"chai": "http://devdocs.io/chai",
"sinon": "http://devdocs.io/sinon",
"nyc": "https://github.com/bcoe/nyc",
"tape": "https://github.com/substack/tape",
{
"Framer": "https://github.com/koenbok/Framer"
}