Simple CRUD app using Node.js Express & MySQL

2,458 views
Skip to first unread message

Zafar Saeed Khan

unread,
Feb 15, 2015, 4:28:01 PM2/15/15
to nod...@googlegroups.com
here is the repo of my project at Git
https://github.com/ZafarSaeedKhan/Simple_CRUD_App_Node.js.git
Do practice and have fun

Angel Java Lopez

unread,
Feb 15, 2015, 5:21:05 PM2/15/15
to nod...@googlegroups.com
Thanks for sharing!

Just curious, I don't understand the need for

var input = JSON.parse(JSON.stringify(req.body));

Why not using req.body directly? security reason?

At
they are using req.body.username, directly

Angel "Java" Lopez
@ajlopez


--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/d6698347-d13f-498c-9091-0b8ebe68be7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages