fssa-batch3 / fssa-batch3/sec_a_kishor.muruganandham__corejava_project_2
Book Module | View Book Feature
- Dominant language
- Java
- Stars
- 7
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
# Creating Book Process
### User Story
As a user, I want to be able to view information about books available in the library's collection. When I search for a specific book, the system should display details such as the book's title, author, genre, and availability status. If the book I'm searching for is not found, the system should provide a message indicating that the book is not available.
### Task
- [x] Implement Data Access Object (DAO) Layer.
- [x] Implement Service Layer.
- [x] Create JUnit Test Cases.
- [x] Ensure that the tests cases are passing.
- [x] Write clear and concise comments in the code to explain complex logic.
#### DAO
- getBookByTitle()
#### Service
- getBookByName()
#### Junit Test
- testValidGetBookByName()
- testInvalidGetBookByName()
### Estimation
- 3 hours
# Flowchart
```mermaid
graph TD
A[[Start]] --> |User Searches for Specific Book| B[(Search Book by Name)]
B --> |Book Not Found| F{{Service Exception}}
B --> |Book Found| D([Returns Book Details])
D --> |Success| I([Show Book Details])
F --> |Fail| G([Failed to get book details])
G --> H[[End]]
I --> H
style I fill:#dfd,stroke:#333
style G fill:#fdd,stroke:#333
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.