Skip to content

Commit 77bf063

Browse files
author
Ferenc Hammerl
committed
Add more details to user stories
1 parent 82d0e4c commit 77bf063

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ Easy integration with Java, UUID as primary key natively, can index JSON objects
2121

2222
## User stories
2323
### 1. List all polls created by a user
24-
Create an endpoint that takes an integer `userId` param and returns with an empty list or a list of polls
24+
Create an endpoint that takes an integer `userId` param and returns with an empty list or a list of polls that the user created
2525
### 2. Search polls by its title
26-
Create an endpoint that takes a string `title` param and returns with an empty list or a list of polls
26+
Create an endpoint that takes a string `title` param and returns with an empty list or a list of polls with the exact title
2727
### 3. List all polls created after a certain date
28-
Create an endpoint that takes an ISO date `date` in param and returns with an empty list or a list of polls
28+
Create an endpoint that takes an ISO date `date` in param and returns with an empty list or a list of polls with `initiated` post the date param.
29+
As a timestamp, the date 2020-01-01 is 2020-01-01 00:00, so an initiated timestamp of 2020-01-01 01:00 is 'after' 2020-01-01

0 commit comments

Comments
 (0)