Reputation: 635
I'm new to Node.js I'm trying to transfer all I did before to this environment.
I'm using Express.js with Mongoose.
I come from a ASP.NET MVC environment where I'm used to define my model and then automatically scaffolding the form with personalized HTML.
I'd like to know if there's a way to scaffold form for edit insert and a way to go for input validation on single fields.
I've looked here http://plugins.mongoosejs.com but I didn't find what I needed.
Upvotes: 2
Views: 6131
Reputation: 2828
If you are just starting the study Express, then play with express-validator with this micro tutorial
or use Mongo's build in validators
Upvotes: 2