fssa-batch3 / fssa-batch3/sec_a_hariharan.veerakumar__corejava_project_2

User module | Login Feature

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

Description

### User story:
As a User, He/She can login into the website with email and password . If the user is already not registered that user won't allow before register.

### DAO:
- [ ] getEmailByUser()

### Service:
- [ ] login()

### ServiceTest:
TestLoginFeature
- [ ] testLoginSuccess
- [ ] testLoginNotSuccess
- [ ] testLoginWrongEmail
- [ ] testLoginWrongPassword

### Estimation:
- 4 Hours.

### Flow Chart
```mermaid
flowchart TB
Start((Start))
GetUserCredentials((Get User Credentials))
ValidateInput{Validate Input}
CheckDatabase((Check Database))
Authenticate{Authenticate User}
GrantAccess((Grant Access))
End((End))
Start --> GetUserCredentials
GetUserCredentials --> ValidateInput
ValidateInput --> |Valid| CheckDatabase
ValidateInput --> |Invalid| End

CheckDatabase --> Authenticate
Authenticate --> |Valid| GrantAccess
Authenticate --> |Invalid| End

```

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.