fssa-batch3 / fssa-batch3/sec_a_logesh.venkatesan__corejava_project_2

User module | Register Feature

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

Description

# User Registration Process

## User Story

As a user, I am required to utilize a valid email and password to access the application. In the event that either the email or password provided is incorrect, the application is expected to display an error message indicating the invalidity of the login credentials. Specifically, in the case of an incorrect email, the error message should read "Invalid email address." Furthermore, if the email is valid but the password is incorrect, the error message should state "Invalid password."

## Task

1. Implement Data Access Object (DAO) Layer.
2. Implement Service Layer.
3. Create JUnit Test Cases.
4. Ensure that the test cases are passing.
5. Write clear and concise comments in the code to explain complex logic.

## DAO

- `createUser()`: Creates a new user in the database.

## Service

- `registerUser()`: Registers a new user using the Service Layer.

## JUnit Tests

- `testValidRegisterUser()`: Tests the registration of a valid user.
- `testInvalidRegisterUser()`: Tests the handling of invalid registration.

## Estimation

5.5 hours
![image](https://github.com/fssa-batch3/sec_a_logesh.venkatesan__corejava_project_2/assets/118425951/5fe2b3fc-d48d-4300-ae48-909fc338380b)

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.