Commit Graph

8 Commits

Author SHA1 Message Date
dereklseitz
d11d943615 fix: correct route for form submission 2025-08-21 16:51:52 -05:00
dereklseitz
0dea7fcaec fix: Add corrected refernce to securityMw.js for honeypot and hCaptcha verification 2025-08-21 07:51:58 -05:00
dereklseitz
b1093f3cfc a 2025-08-20 22:41:58 -05:00
dereklseitz
3f4c21cebd fix 2025-08-20 22:01:34 -05:00
dereklseitz
83bd7b97f6 fix: syntax error in contactRoutes.js 2025-08-20 10:13:25 -05:00
dereklseitz
9f47800032 fix: move call for formSecurityCheck to before express validator array in contactRoutes.js 2025-08-20 08:32:35 -05:00
dereklseitz
0b48a79bec fix: Resolve TypeError by correcting module dependency injection
This commit fixes a TypeError that occurred because the contactRoutes
module was being initialized before the contactController module.

The fix involves:
- Swapping the initialization order in server.js so the contactController is
  initialized before contactRoutes.
- Modifying contactRoutes.js to accept the initialized contactController
  as a dependency, rather than requiring it on its own.
2025-08-17 17:59:44 -05:00
dereklseitz
562d831ddf refactor: Convert monolithic app to modular architecture
This commit refactors the entire codebase from a monolithic structure to a
modular one. Key changes include:

-   Extracting core components (e.g., user authentication, data processing,
    API handlers) into their own distinct modules.
-   Implementing a new directory structure to support a modular design.
-   Updating all internal references and import paths to reflect the new
    architecture.

The new structure improves maintainability, scalability, and allows for
easier independent development of each module in the future.
2025-08-17 16:54:07 -05:00