@@ -27,30 +27,30 @@ npm test
2727
2828Granular:
2929
30- Lint: ` npm run lint `
31- All BDD: ` npm run bdd `
32- Pass additional arguments to BDD: ` npm run bdd -- -d `
33- BDD one file: ` npm run bdd -- test/path/to/file.js `
34- BDD Watch: ` npm run bdd-watch `
35- BDD Watch w/ one test file: ` npm run bdd-watch -- test/path/to/file.js `
36- All Unit: ` npm run unit `
30+ Lint: ` npm run lint `
31+ All BDD: ` npm run bdd `
32+ Pass additional arguments to BDD: ` npm run bdd -- -d `
33+ BDD one file: ` npm run bdd -- test/path/to/file.js `
34+ BDD Watch: ` npm run bdd-watch `
35+ BDD Watch w/ one test file: ` npm run bdd-watch -- test/path/to/file.js `
36+ All Unit: ` npm run unit `
3737
3838Opinions
3939========
4040#### Restful resource urls
41- Create - POST - /resources
42- Read - GET - /resources/: id
43- Update - PATCH - /resources/: id * PATCH is a partial update, PUT is a full resource update
44- Delete - DELETE - /resources/: id
41+ Create - POST - /resources
42+ Read - GET - /resources/: id
43+ Update - PATCH - /resources/: id * PATCH is a partial update, PUT is a full resource update
44+ Delete - DELETE - /resources/: id
4545
4646#### Middleware Patterns
47- Request Data validation and Middleware Flow Control - [ tjmehta/dat-middleware] ( https://github.com/tjmehta/dat-middleware )
48- Middleware Flow Control - [ tjmehta/middleware-flow] ( https://github.com/tjmehta/middleware-flow )
49- Middlewares of models are autogenerated for you
50- * Mongoose Models - /lib/middlewares/mongo/index.js - [ tjmehta/mongooseware] ( https://github.com/tjmehta/mongooseware )
51- * Class Models - /lib/middlewares/apis/index.js [ tjmehta/middlewarize] ( https://github.com/tjmehta/middlewarize ) * documentation soon
52- Sharing the request object as a common context between middlewares allows us to make
53- asyncronous code look syncronous and avoid "callback hell"
47+ Request Data validation and Middleware Flow Control - [ tjmehta/dat-middleware] ( https://github.com/tjmehta/dat-middleware )
48+ Middleware Flow Control - [ tjmehta/middleware-flow] ( https://github.com/tjmehta/middleware-flow )
49+ Middlewares of models are autogenerated for you
50+ * Mongoose Models - /lib/middlewares/mongo/index.js - [ tjmehta/mongooseware] ( https://github.com/tjmehta/mongooseware )
51+ * Class Models - /lib/middlewares/apis/index.js [ tjmehta/middlewarize] ( https://github.com/tjmehta/middlewarize )
52+ Sharing the request object as a common context between middlewares allows us to make
53+ asyncronous code look syncronous and avoid "callback hell"
5454
5555#### Boom for Http Errors
5656Nice Http Error library - [ spumko/boom] ( https://github.com/spumko/boom )
0 commit comments