himeshparashar / Social-Morph

https://socialmorph-himeshparashars-projects.vercel.app
13 stars 36 forks source link

Added blog frontend and backend #146

Closed Sourabh782 closed 3 weeks ago

Sourabh782 commented 3 weeks ago

πŸ“‹ Description

πŸ”¨ Changes Made

βœ… Checklist

Before submitting the PR, please make sure you have completed the following:

🏷️ Types of Changes

What type of changes does your code introduce? (Check all that apply)

🀝 Related Issues

How should this be tested?

πŸ“Έ Screenshots (if applicable)

Mandatory Tasks

vercel[bot] commented 3 weeks ago

@Sourabh782 is attempting to deploy a commit to the himeshparashar's projects Team on Vercel.

A member of the Team first needs to authorize it.

himeshparashar commented 3 weeks ago

@sudhanshutech review needed

sudhanshutech commented 3 weeks ago

@Sourabh782 please if you would provide some recording of your work.

Sourabh782 commented 3 weeks ago

@Sourabh782 please if you would provide some recording of your work.

Yess sure

Sourabh782 commented 3 weeks ago

@sudhanshutech

video: https://github.com/user-attachments/assets/94b01177-2b05-46c3-b800-4b2e076462f2

backend log: Screenshot 2024-10-22 115426

sudhanshutech commented 3 weeks ago

@Sourabh782 how does this blogs look like to non authorized users?

Sourabh782 commented 3 weeks ago

@Sourabh782 how does this blogs look like to non authorized users?

@sudhanshutech if user are not logged in they will not be able to see update or delete option its only for owner, i have used conditional rendering for it image

will have to update this in pr

Sourabh782 commented 3 weeks ago

@Sourabh782 how does this blogs look like to non authorized users?

Also if user is not logged in so he wont see Add button on top at blog page image

Sourabh782 commented 3 weeks ago

@sudhanshutech , @himeshparashar can you check now? implemented some changes

  1. removed console.log() statements
  2. conditional rendering for users not logged in
  3. added reusable component for repeating task