Skip to content

Commit

Permalink
add the user profile page(not styled)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrey committed Apr 7, 2020
1 parent 3c5b668 commit 9778dfc
Show file tree
Hide file tree
Showing 16 changed files with 262 additions and 2,918 deletions.
4 changes: 4 additions & 0 deletions models/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ var passportLocalMongoose = require("passport-local-mongoose");
var UserSchema = new mongoose.Schema({
username: String,
password: String,
avatar: String,
firstName: String,
lastName: String,
email: {type: String, unique: true, required: true},
isAdmin: {type: Boolean, default: false}
})
UserSchema.plugin(passportLocalMongoose);
Expand Down
5 changes: 0 additions & 5 deletions node_modules/async/.travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion node_modules/async/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9778dfc

Please sign in to comment.