signup and login system added, making the webapp online

This commit is contained in:
nau
2016-09-07 19:23:48 +02:00
parent 244d032588
commit 4602ace2bc
9 changed files with 377 additions and 178 deletions

View File

@@ -6,9 +6,10 @@ var userSchema = new Schema({
username: { type: String },
password: { type: String },
description: { type: String },
avatar: { type: String },
mail: { type: String },
phone: { type: String },
telegram: { type: String }
avatar: { type: String },
github: { type: String },
web: { type: String },
projects: { type: String }
})
module.exports = mongoose.model('userModel', userSchema);