Skip to content

Instantly share code, notes, and snippets.

@nsipplswezey
nsipplswezey / gist:b694850af9ee1bd41d4c
Last active August 29, 2015 14:14
A Rubric for Greenfield Projects, to help people evaluate their own projects, and others.

Instructions: Take your greenfield project. Circle which description best fits your project. Sum the pain points that correspond to the descriptions you circled!

Pain Score: Testing

1 Pain:	The project has test coverage of >80%	
2 Pain: The project has at least 10 tests.	
3 Pain:	The project has no tests.

Pain Score: Demo

@nsipplswezey
nsipplswezey / README.md
Last active August 29, 2015 14:15
Minimum Gist for bl.ocks blog

The most basic of gists!

@nsipplswezey
nsipplswezey / Command Line
Last active May 11, 2016 15:25
Nodal TL;DR: Tweet Model + User Model + TL;DR = tldr-instatweet-api
//TL;DR: Nodal API server, with users joined to their tweets data
//Make sure you have postgres running. If not, I like postgresapp.com as the fastest way to get set up
//I use Postman to test API endpoints, but you can use whatever you want.
$ npm install -g nodal
$ nodal new tldr-instatweet-api
$ cd tldr-api
$ nodal s
$ nodal g:model Tweet user_id:int body:string
$ nodal g:controller v1 --for Tweets
$ nodal db:create
@nsipplswezey
nsipplswezey / Command Line
Created May 14, 2016 22:15
TL;DR: nodal-react-splash
//TL;DR: Nodal API server, with users joined to their tweets data
//Make sure you have postgres running. If not, I like postgresapp.com as the fastest way to get set up
//I use Postman to test API endpoints, but you can use whatever you want.
$ npm install -g nodal
$ nodal new tldr-instatweet-api
$ cd tldr-api
$ nodal s
$ nodal g:model Tweet user_id:int body:string
$ nodal g:controller v1 --for Tweets
$ nodal db:create
@nsipplswezey
nsipplswezey / 1. commandline
Last active May 22, 2016 03:35
TL;DR for sensitive fields
nodal new sensitive-fields
cd sensitive-fields
nodal g:model --user
nodal g:controller --for users
nodal db:create
nodal db:prepare
nodal db:migrate
nodal s
@nsipplswezey
nsipplswezey / 1. Command Line
Last active May 25, 2016 02:38
Nodal Conditional Joins TL;DR
nodal new conditional-joins
nodal g:model Tweet user_id:int body:string
nodal g:controller --for Tweets
nodal g:model --user
nodal g:controller --for Users
nodal db:create
nodal db:prepare
nodal db:migrate
nodal s
@nsipplswezey
nsipplswezey / live-react-docs.md
Last active May 27, 2016 01:55
live-react-docs-nodal

#live-react-docs

Introduction

What is Nodal JS?

Nodal is a nodejs library paired with a command line interface for building API servers. Another name for this is a microframework. Nodal's aim is to get barriers out of the way so that engineers can build product faster.

What are we doing?

@nsipplswezey
nsipplswezey / 1. CommandLine
Last active June 2, 2016 03:42
users and access tokens
npm install -g nodal
nodal new users-access-tokens
cd users-access-tokens
nodal g:model --user
nodal g:controller --for Users
nodal g:model --access_token
nodal g:controller --for Access_Tokens
nodal db:create
nodal db:prepare
nodal db:migrate
@nsipplswezey
nsipplswezey / 1. CommandLine
Last active June 1, 2016 11:17
Users, Access Tokens and Authenticated POST requests to create Tweets!
npm install -g nodal
nodal new users-access-tokens
cd users-access-tokens
nodal g:model --user
nodal g:controller --for Users
nodal g:model --access_token
nodal g:controller --for Access_tokens
nodal g:model Tweet user_id:int body:string
nodal g:controller --for Tweets
nodal db:create
@nsipplswezey
nsipplswezey / Command Line
Last active June 2, 2016 04:07 — forked from cssimms/Command Line
Strong Parameters in Nodal
npm install -g nodal
nodal new strong_params