diff --git a/README.md b/README.md index 80d4e48..8920b1f 100644 --- a/README.md +++ b/README.md @@ -9,4 +9,4 @@ Lorena Burrell / CS @ GSU Ekow Thompson / CS @UA Tarah Thompson / CS @GT Edwin Garcia-Flores / CpE @UC'22 -Colby Thompson / CS @ Cornell '23 \ No newline at end of file +Colby Thompson / CS @ Cornell '23 diff --git a/src/models/User.ts b/src/models/User.ts index c17ca9d..40d575e 100644 --- a/src/models/User.ts +++ b/src/models/User.ts @@ -75,7 +75,28 @@ const userSchema: Schema = new Schema( * - Delete this comment and the example field. * - Add comment(s) to explain your work. */ - exampleField: { required: false, type: String, unique: false }, + // exampleField: { required: false, type: String, unique: false }, + + // Construct the User Schema + + emailAddress: { required: false, type: String, unique: true }, + + firstName: { require: false, type: String, unique: false }, + + lastName: { require: false, type: String, unique: false }, + + instagramUrl: { require: false, type: String, unique: false }, + + linkedInUrl: { require: false, type: String, unique: false }, + + twitterUrl: { require: false, type: String, unique: false}, + + phoneNumber: { require: true, type: String, unique: true }, + + profilePictureKey: { require: false, type: String, unique: true }, + + profilePictureUrl: { require: false, type: String, unique: true }, + // We shouldn't be returning the refreshToken when fetching a user from // the database, since that is sensitive information.