Skip to content

Commit a9dcfe1

Browse files
authored
Merge pull request #12 from ansopedia/feat/email-verification-otp
Feat/email verification otp
2 parents d5fff8f + 40ff468 commit a9dcfe1

16 files changed

+594
-2045
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Changelog
2+
3+
## [1.0.0] - 2024-10-29
4+
5+
### Added
6+
7+
- New reusable UI components:
8+
- Header component (#8)
9+
- Footer component (#8)
10+
- Button component (#6)
11+
- Email verification system:
12+
- EmailVerificationOTP template for OTP-based verification (#10)
13+
- EmailWrapper component (#11)
14+
- WithEmailWrapper Higher-Order Component (HOC) (#11)
15+
- Factory Design Pattern implementation using HOC in React (#11)
16+
- `recipientName` & `otp` fields in `emailVerificationOTPPayload` (#11)
17+
18+
### Changed
19+
20+
- Integrated Tailwind CSS for styling across components (#8)
21+
22+
### Improved
23+
24+
- Enhanced code reusability and maintainability through the use of design patterns and HOCs (#11)
25+
- Standardized UI styling with Tailwind CSS (#8)
26+
27+
### Developer Notes
28+
29+
- The new email verification system utilizes a Factory Design Pattern with Higher-Order Components in React. This approach allows for more flexible and extensible email-related functionality.
30+
- Developers should now use the WithEmailWrapper HOC when creating new email-related components to ensure consistent behavior and styling.
31+
- The addition of the `recipientName` field in `emailVerificationOTPPayload` allows for more personalized email verification messages.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "ansopedia-notification-service",
3-
"version": "0.0.0",
2+
"name": "notification-service",
3+
"version": "1.0.0",
44
"description": "notification service for ansopedia",
55
"main": "index.js",
66
"scripts": {
@@ -21,7 +21,7 @@
2121
"notification service",
2222
"ansopedia"
2323
],
24-
"author": "ansopedia",
24+
"author": "sanjay kumar sah",
2525
"license": "ISC",
2626
"dependencies": {
2727
"@react-email/components": "^0.0.22",

0 commit comments

Comments
 (0)