Commit Graph

14 Commits

Author SHA1 Message Date
dereklseitz
cae3c892be chore: add example env file, improve documentation and code comments 2025-08-23 00:27:01 -05:00
dereklseitz
e86ca9e10c fix: change nodemailer port to 2525 2025-08-21 19:26:10 -05:00
dereklseitz
40f3f101d7 refactor: add commented titles to each file 2025-08-21 18:59:43 -05:00
dereklseitz
01d7bccfe1 add logging for debugging 2025-08-21 18:53:39 -05:00
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
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
e8b55caaed refactor: Remove hardcoded values from codebase, converting to environment variables 2025-08-19 15:51:47 -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