From 1aee4a988a4a6e809d35d10117f3106a6eeae3e2 Mon Sep 17 00:00:00 2001 From: Erika Date: Mon, 23 Oct 2023 19:04:11 -0700 Subject: [PATCH 1/2] add account README --- src/account/README.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 src/account/README.md diff --git a/src/account/README.md b/src/account/README.md new file mode 100644 index 00000000..e69de29b From e431bd3b355362051ee6c29d6863b7ecff908999 Mon Sep 17 00:00:00 2001 From: pogi7 Date: Mon, 23 Oct 2023 19:46:27 -0700 Subject: [PATCH 2/2] explicit development environment variables --- src/account/config.ts | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/account/config.ts b/src/account/config.ts index 6d45160d..0fb8b1b3 100644 --- a/src/account/config.ts +++ b/src/account/config.ts @@ -6,9 +6,14 @@ export let config = { mongodb: { - username: process.env.USR ?? "username", - password: process.env.PSW ?? "password", - clustername: process.env.CLUS ?? "cluster", - database: process.env.DB ?? "test" + username: process.env.USR ?? process.env.DEV_USR, + password: process.env.PSW ?? process.env.DEV_PSW, + clustername: process.env.CLUS ?? process.env.DEV_CLUS, + database: process.env.DB ?? process.env.DEV_DB, + collection: process.env.COL ?? process.env.DEV_COL + }, + microservice: { + account: "account", + port: 5000 } }; \ No newline at end of file