Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added a bunch of tasks that needs attention

  • Loading branch information...
commit cc1dd476cbf0c219a51f625c5ef85af333398195 1 parent f681bf1
@hkjels authored
View
4 .gitignore
@@ -1,3 +1,5 @@
+.todo
+
lib-cov
*.seed
*.log
@@ -12,4 +14,4 @@ logs
results
node_modules
-npm-debug.log
+npm-debug.log
View
2  .todoignore
@@ -0,0 +1,2 @@
+.git
+node_modules
View
2  Readme.md
@@ -12,6 +12,7 @@ __Crud functionality for mongoose-models. Fits well with express.js__
var express = require('express')
, app = module.exports = express.createServer()
+ , models = require('./models')
, crud = require('crud')
app.get('/crud/:model', crud.middleware, function (req, res) {
@@ -26,6 +27,7 @@ __Crud functionality for mongoose-models. Fits well with express.js__
, crud = require('crud').form
crud(Model, function (err, form) {
+ if (err) return console.err(err)
console.dir(form)
})
View
12 Taskpool.md
@@ -0,0 +1,12 @@
+
+# Taskpool
+
+
+* TODO Improve the #style of the generated form
+
+* TODO Create a #test for all mongoose-types and validation
+
+* TODO Create #doc and a github-page to kickstart opensorcerers
+
+* TODO #Investigate if the module should be made independent of #mongoose & #express
+
View
1  examples/user/app.js
@@ -6,7 +6,6 @@
var express = require('express')
, app = module.exports = express.createServer()
, routes = require('./routes')
- , mongoose = require('mongoose')
, models = require('./models')
, stylus = require('stylus')
, nib = require('nib')
View
10 examples/user/models/index.js
@@ -1,3 +1,13 @@
+/**
+ * Module dependencies
+ */
+
+var mongoose = require('mongoose')
+
+/**
+ * UserModel
+ */
+
require('./User')
Please sign in to comment.
Something went wrong with that request. Please try again.