Commit Graph

21 Commits

Author SHA1 Message Date
dereklseitz
5a1aae19c0 add logging for debugging 2025-08-21 18:47:55 -05:00
dereklseitz
dfea256a61 fix: correct app.use() 2025-08-21 18:40:25 -05:00
dereklseitz
d5dea7b42a fix: correct app.use() 2025-08-21 17:34:17 -05:00
dereklseitz
0b7d7cb774 fix: correct app.use() 2025-08-21 17:29:51 -05:00
dereklseitz
d11d943615 fix: correct route for form submission 2025-08-21 16:51:52 -05:00
dereklseitz
9cf06401f0 fix: add /api prefix to contactRoutes call 2025-08-21 16:25:18 -05:00
dereklseitz
5c0b291b4a fix: Add securityMw.js import 2025-08-21 07:54: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
ac51cd7493 fix: add dotenv requirement to securityMw.js 2025-08-20 11:05:54 -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
5116cdc445 Revert "test"
This reverts commit 9637221240.
2025-08-19 22:58:38 -05:00
dereklseitz
e8b55caaed refactor: Remove hardcoded values from codebase, converting to environment variables 2025-08-19 15:51:47 -05:00
dereklseitz
9637221240 test 2025-08-18 15:46:24 -05:00
dereklseitz
800db12439 test file added to test Gitea webhook and server webhook application 2025-08-18 15:42:24 -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
dereklseitz
456ea795e6 feat: Add initial monolithic backend server 2025-08-17 16:42:03 -05:00
Derek L. Seitz
3a15b949ad Initial commit 2025-08-17 16:15:18 +00:00