database externa

This commit is contained in:
nau
2016-08-23 18:11:51 +02:00
parent 8a6f3bf221
commit 5fa880dd01
616 changed files with 101532 additions and 43773 deletions

View File

@@ -53,7 +53,7 @@ exports.findUserByUsername = function(req, res) {
//POST - Insert a new TVShow in the DB
exports.addUser = function(req, res) {
console.log('POST new user, name: ' + req.body.username);
console.log(req.body);
//console.log(req.body);
var user = new userModel({
username: req.body.username,