bounswe / bounswe2022group4

6 stars 3 forks source link

Frontend: Single Profile Page with Dynamic URL #531

Closed umutdenizsenerr closed 1 year ago

umutdenizsenerr commented 1 year ago

Description:

Currently, our website does not have a feature that allows users to view the profile page of the author of a post. We would like to add this feature so that when a user clicks on the profile icon on a single post page, they are routed to the profile page of the author.

Steps:

1) Create a dynamic route for the single post page. This route should include a parameter that represents the unique identifier for the post.

2) On the single post page, display the profile icon for the author of the post.

3) When the user clicks on the profile icon, use the react-router-dom library to navigate to the profile page for the author. The route for the profile page should also be dynamic and include a parameter for the unique identifier of the author.

4) In the component that renders the profile page, retrieve the necessary data for the author from the database using the unique identifier passed in the route.

5) Display the profile information for the author on the profile page.

6) Test the feature to ensure that it is working as expected.

Reviewer: @BeratDamar Deadline: 25.12.2022 23.59

umutdenizsenerr commented 1 year ago

Since PR is merged, i am closing the issue.