You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user, I would like to see a link in the navbar lead to a page containing the last posts in the app, and when I click on one of the posts it will lead me -if I am authenticated - to post discussion page.
and if the user is not authenticated it will redirect him to the register, or login page
Plan for technical implementation
** Backend:**
make a new API route with the endpoint ('API/newsfeed') and fetch the posts from the database to the frontend.
** Frontend:**
make a new component ( newsfeed) and fetch the posts from the backend, and show it in UI.
The text was updated successfully, but these errors were encountered:
User Story :
As a user, I would like to see a link in the navbar lead to a page containing the last posts in the app, and when I click on one of the posts it will lead me -if I am authenticated - to post discussion page.
and if the user is not authenticated it will redirect him to the register, or login page
Plan for technical implementation
** Backend:**
make a new API route with the endpoint ('API/newsfeed') and fetch the posts from the database to the frontend.
** Frontend:**
make a new component ( newsfeed) and fetch the posts from the backend, and show it in UI.
The text was updated successfully, but these errors were encountered: