-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display News and Upvote News #113
Labels
Comments
Claim |
1 similar comment
Claim |
Claim |
1 similar comment
Claim |
@kushal7201 this makes use of redux. U sure you can do it? |
claim |
@0mBudsMan I will try |
claim |
Claim |
1 similar comment
Claim |
CLAIM |
Claim |
Working on it |
@osamabenlade no need to claim, you can work on it |
Allah hu Akbar 🤲 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue: Create Dynamic News Display Route
#Time: 24 hours
Description
Problem
Currently, we lack a dynamic route for displaying news on the frontend based on a specific
scoopId
. The backend route/api/scoop/:scoopId
and the upvote functionality/api/scoop/:scoopId/upvote
are already implemented. A page already exists in frontend /pages/Scoop.js . Fetch data using redux, and save it in store. Use what is saved in store to display in frontend. Also implement upvote functionalityGoal
The goal is to create a dynamic route
/scoop/:scoopId
on the frontend to display a specific news article using the existing backend routes.Tasks
Frontend Dynamic Route:
/scoop/:scoopId
on the frontend to display news articles.Integrate Backend Routes:
/api/scoop/:scoopId
for fetching news details.Display Details:
/scoop/:scoopId
.Upvote Functionality:
/api/scoop/:scoopId/upvote
.Error Handling:
scoopId
is invalid or the news article is not found.Testing:
Additional Information
If you have any questions or need clarification, feel free to comment on this issue. Deadline: 36 hours
Thank you for your contribution!
The text was updated successfully, but these errors were encountered: