kir-dev / kir-dev/BeAlcoholic

Connect event feed to backend

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
frontend
Dominant language
TypeScript
Stars
6
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The event feed page should query the event findAll endpoint of the backend with a pageSize of 10 (take: 10, skip: 0 initially)

Optionally also implement pagination, so show how many pages are available based on the event count and page size, and do another query with updated take and skip values when the user turns the page. (useMutation is probably needed for this)

depends on #35 and #49

Contributor guide

Open the contributing guide

Research direction

Start by checking dependencies #35 and #49, then locate the event feed page and the backend event findAll endpoint. Implement the initial query with take: 10 and skip: 0; if pagination is included, show available pages from the event count and update take and skip when the page changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.