Skip to content

Post Modal:#191

Open
OmarAnKh wants to merge 6 commits into
mainfrom
Omar
Open

Post Modal:#191
OmarAnKh wants to merge 6 commits into
mainfrom
Omar

Conversation

@OmarAnKh
Copy link
Copy Markdown
Owner

-added the post modal so that the.
-added a discared button so that if the user clickes the cancel button by mistake it does not take any effect.
-allow the user to upload photos (at max 3)

-added the post modal so that the.
-added a discared button so that if the user clickes the cancel button
by mistake it does not take any effect.
-allow the user to upload photos (at max 3)
Copy link
Copy Markdown
Collaborator

@amjadAwad95 amjadAwad95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work, Omar! The code looks great overall. I’ve left a few comments with suggestions for small improvements you might want to consider.

Comment thread backend/src/models/post.js Outdated
ref: 'Account',
required: true
},
createdAt: {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use timestamps :
new mongoose.Schema({...},{timestamps: true});

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make only the authentication user who can create, update, and delete posts

Copy link
Copy Markdown
Collaborator

@AbooodJbr AbooodJbr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good job omar, the code looks good, and the frontend design is simple (which is better imo)

Copy link
Copy Markdown
Collaborator

@amjadAwad95 amjadAwad95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good job omar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants