fssa-batch3 / fssa-batch3/sec_a_mohammedajmal.iqbol__corejava_project_2

Course Module | Create Feature

Open
#5 3 comments 0 reactions 1 assignee Claimed by @Ajmal112 View on GitHub
course-module enhancement
Dominant language
Java
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

# Course Create Process

### User Story

- When an instructor/administrator provides valid input while creating a new course, the system accurately captures all the required information, successfully adds the course to the system, and provides confirmation of the successful creation.
- When an instructor/administrator provides Invalid input while attempting to create a new course, the system detects the errors and provides appropriate error messages to guide them in correcting the input

### Task

- [x] Implement Data Access Object (DAO) Layer.
- [x] Implement Service Layer.
- [x] Create JUnit Test Cases.
- [x] Ensure that the test cases are passing.
- [x] Write clear and concise comments in the code to explain complex logic.

### DAO
- createCourse()

### Service
- registerCourse()

### Service Test
TestCreateCourseFeature
- testCreateCourseSuccess()
- testCreateCourseFailure()

### Estimation
- 1 hour

# Flowchart

```mermaid
flowchart TD
A[Start]
B[User Requests to Create Course]
C[Display Course Creation Form]
D[User Provides Course Details]
E[Validate Input]
F{Validation Successful?}
G[Save Course Data]
H[Course Creation Successful]
I[Display Error Messages]
J[End]

A --> B
B --> C
C --> D
D --> E
E --> F
F -- Yes --> G
G --> H
F -- No --> I
I --> C
I --> J
H --> J
```

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.