Skip to content

refactor: naming conventions, module structure, standardized errors, 2FA - #568

Open
oladev2026-tech wants to merge 1 commit into
Dfunder:mainfrom
oladev2026-tech:refactor/naming-modules-errors-2fa
Open

refactor: naming conventions, module structure, standardized errors, 2FA#568
oladev2026-tech wants to merge 1 commit into
Dfunder:mainfrom
oladev2026-tech:refactor/naming-modules-errors-2fa

Conversation

@oladev2026-tech

Copy link
Copy Markdown

Four small, focused improvements.

  • Naming conventions — add a @typescript-eslint/naming-convention rule (as a warning) and document the conventions in docs/naming-conventions.md. Closes Create Consistent Naming Conventions #560
  • NestJS module structure — document the standard file-per-concern module layout (controller/service/repository/dto) in docs/module-structure.md. Closes Implement Proper NestJS Module Structure #558
  • Standardized error handling — add typed exception classes (AppException + subclasses) with a consistent { statusCode, errorCode, message } shape, plus docs/error-handling.md. Closes Standardize Error Handling #555
  • Two-factor authentication — add dependency-free TOTP helpers (secret generation, verification with a ±1 window, recovery codes) and the setup/login flow doc (docs/two-factor-auth.md). Closes Add Two-Factor Authentication (2FA) #551

Closes #560
Closes #558
Closes #555
Closes #551

…, TOTP 2FA

- Add naming-convention lint rule + conventions doc (closes Dfunder#560)
- Document the standard NestJS module structure (closes Dfunder#558)
- Add typed exception classes and a standardized error format doc (closes Dfunder#555)
- Add TOTP 2FA helpers (secret, verify, recovery codes) and setup docs (closes Dfunder#551)
@drips-wave

drips-wave Bot commented Aug 24, 2026

Copy link
Copy Markdown

@oladev2026-tech Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Consistent Naming Conventions Implement Proper NestJS Module Structure Standardize Error Handling Add Two-Factor Authentication (2FA)

1 participant