Commit Graph

14 Commits

Author SHA1 Message Date
655e9c5e07
chore(dbconfig): cleanup imports, add checks to see if we're in test env 2024-03-16 21:21:46 -04:00
ec050390ad
refactor(dbconfig): make db url ternary check if env == production 2024-01-06 20:37:11 -05:00
bd06f7d4b3
fix(config): set hasmigrated to false 2023-12-30 17:43:28 -05:00
c467afc0c8
fix(config): only connect in dbconfig if hasMigrated is false 2023-12-30 15:58:14 -05:00
27f476a8a7
refactor(db): guard connexct statement instead 2023-12-28 19:58:45 -05:00
e94c070300
refactor(config): connect mongoose in dbconfig 2023-12-28 19:58:37 -05:00
f01949b983
refactor(config): connect mongoose in dbconfig 2023-12-28 19:58:36 -05:00
d3417ae9e6
refactor(config): add debug statement to db config 2023-12-28 19:58:35 -05:00
38907f6bb5
refactor(config): add port number 2023-12-28 19:58:34 -05:00
5e8cbeecbe
refactor(config): add port number 2023-12-28 19:58:33 -05:00
a0eea2cdde
fix(config): fix env path 2023-12-28 19:58:23 -05:00
21040955bf
fix(db): update env paths 2023-12-28 19:58:21 -05:00
9f180a4d30
refactor: create a constant to hold path to .env file (this is temporary)
--- REVERT THIS ---
2023-10-12 23:04:25 -04:00
a0ca4059e9
refactor: create importable database config 2023-09-25 19:54:05 -04:00