fssa-batch3 / fssa-batch3/sec_b_karthikeyan.robert__corejava_project_2
request Details
- Dominant language
- Java
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### Feature 3: Request Details
#### User story
Users can view details of a specific donation request.
#### Pre-requisites
- [ ] Requests Table
- [ ] Implement Request DAO (findAll Request Details)
- [ ] Implement Request Service (findAll Request Details)
#### Validation
- [ ] Form validation
- Request ID must be a positive integer.
- [ ] Business validation
- Check whether the Request ID exists in the database.
#### Messages
- [ ] Invalid Request ID: Request ID must be a positive integer.
#### Flow
```mermaid
graph TD;
A["User: View Request Details"] --> B["Form Validation"]
B -- Valid --> C0["Business Validation"]
C0 --> C["Check Whether the Request ID exists in the Database"]
B -- Invalid --> C1["Validation Exception: Invalid Request ID"]
C -- Yes --> D["Request Service: Retrieve Request Details"]
D --> E["Response: Display Request Details"]
C -- No --> F["Validation Exception: Request not found for the given ID (Error Response)"]
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Requests Table and the Request DAO and Request Service entry points described in the prerequisites. Trace the request-ID form and validation flow, including the positive-integer and database-existence checks. Done means valid IDs display request details, invalid IDs produce the specified validation message, and missing requests produce the stated error response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100