fssa-batch3 / fssa-batch3/sec_b_karkuvelraj.murugan__corejava_project_2

List All Products By Category Id

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

Description

>Find all products by category_id from Database

#### Pre-requisites:
- [ ] complete category module
- [ ] complete price module
- [ ] create product model
- [ ] category model
- [ ] price table
- [ ] product model
- [ ] product service (find all products by category_id)
- [ ] product DAO (find all products by category_id)

#### Validations:
- [ ] Form validation
- Category id<=0
- [ ] business validation
- Check whether the CategoryId is available in the category table.

#### Messages:
* category id should be above 0
* Category_id does not exists

#### Flow:
```mermaid

graph TD;

A[Product Service: Find all products by category_id] --> B[Form Validation]

B---yes--> C("business validaton(Category_id already Exist)")

C -- Yes --> D["Product Dao : Find all products by category_id"]

D --> E["Product Service: Found all products by category_id"]

C -- No --> F["Product Service : Category does not exist"]

B --- no --> G["Product Service : Invalid category_id"]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.