fssa-batch3 / fssa-batch3/sec_b_boobalan.ravichandran__corejava_project_2

Create User

Open
#2 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

### Feature: Create User

>Create a new user in a database.
#### Pre-requisites:
- [ ] user table
- [ ] user model
- [ ] user DAO( create )
- [ ] user service ( create )
#### Validations:
- [ ] Form Validation
* user null
* name ( null, empty, pattern )
* email ( null, empty, pattern )
* password ( null, empty, pattern )
* phone number ( length, >= 600000001 && <= 9999999999 )
- [ ] Business Validation
* Check whether the email is already exists
#### Messages:
* Invalid User object
* Name cannot be null or empty
* Password format is invalid.
* Invalid phone number
* The email already exists
#### Flow:
```mermaid
graph TD;
A(Argument Passed to UserService - User Object) --> B(Form Validation)
B--Valid--> C(Business Validation)
B--Invalid-->I(Throw Validation Exception)
C -- Valid --> E(Argument Passed to UserDAO)
E --> F(Store Value in Database)
C -- Invalid --> H(Throw Validation Exception)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue specifies a User model, User DAO, User service, user table, and create flow, but names no files or tests. Start by locating the existing model, service, DAO, and database structure, then trace how validation and persistence are organized. Done means user creation, listed form and business validations, and the specified messages are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.