Skip to content

Commit

Permalink
Merge pull request #17 from aanu2021/main
Browse files Browse the repository at this point in the history
Signing off from final year project
  • Loading branch information
sanam2405 authored Jan 9, 2024
2 parents fcf21b7 + a766a4d commit a38037f
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 32 deletions.
36 changes: 8 additions & 28 deletions backend/models/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,14 @@ const mongoose = require('mongoose')
const { ObjectId } = mongoose.Schema.Types

const userSchema = new mongoose.Schema({
name: {
type: String,
required: true,
},
username: {
type: String,
required: true,
},
email: {
type: String,
required: true,
},
password: {
type: String,
required: true,
},
Photo: {
type: String,
},
age: {
type: String,
},
gender: {
type: String,
},
college: {
type: String,
},
name: { type: String, required: true },
username: { type: String, required: true },
email: { type: String, required: true },
password: { type: String, required: true },
Photo: { type: String },
age: { type: String },
gender: { type: String },
college: { type: String },
friends: [{ type: ObjectId, ref: 'user' }],
})

Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/FriendsCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ function FriendsCard({
{user.college ? user.college : '〰〰〰'}
</div>
<div className='gitDetail'>
<span>Following</span>
<span>Gender</span>
{user.gender ? user.gender : '〰〰〰'}
</div>
<div className='gitDetail'>
<span>Followers</span>
<span>Age</span>
{user.age ? user.age : '〰〰〰'}
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/styles/UserCard.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
}

.container .card_item .college-field-2 {
margin-right: 0.2rem;
margin-top: 1.7rem;
margin-right: 0.5rem;
margin-top: 0.1rem;
}

.detail-box {
Expand Down
Binary file added presentation/assets/Commit.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/assets/Commit_Speed.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/assets/FriendsPage.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/assets/FriendsPage_Speed.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/assets/Landing_Speed.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/assets/Landing_gif.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/assets/Login_Speed.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/assets/Login_gif.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/assets/Map_Speed.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added presentation/assets/Map_gif.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a38037f

Please sign in to comment.