Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
Resolving merge conflicts.
  • Loading branch information
jchartrand authored and kezike committed Mar 2, 2024
1 parent 82ee9c3 commit 4a9df82
Show file tree
Hide file tree
Showing 11 changed files with 16,769 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .env_copy
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
PORT=4007
ENABLE_HTTPS_FOR_DEV=false # ONLY for dev when need https.
CRED_STATUS_DID_SEED=z1AackbUm8U69ohKnihoRRFkXcXJd4Ra1PkAboQ2ZRy1ngB
CRED_STATUS_SERVICE=github
CRED_STATUS_ACCESS_TOKEN=
CRED_STATUS_REPO_ORG_NAME=digitalcredentials
CRED_STATUS_REPO_NAME=credential-status-test-jc
CRED_STATUS_META_REPO_NAME=credential-status-metadata-test-jc

10 changes: 10 additions & 0 deletions .jest/setEnvVars.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const env = process.env
env.PORT=4007
env.ENABLE_HTTPS_FOR_DEV="false" // ONLY for dev when need https.
env.CRED_STATUS_DID_SEED="z1AackbUm8U69ohKnihoRRFkXcXJd4Ra1PkAboQ2ZRy1ngB"
env.CRED_STATUS_SERVICE="github"
env.CRED_STATUS_ACCESS_TOKEN=
env.CRED_STATUS_REPO_ORG_NAME="digitalcredentials"
env.CRED_STATUS_REPO_NAME="credential-status-test-jc"
env.CRED_STATUS_META_REPO_NAME="credential-status-metadata-test-jc"

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ WORKDIR /app
COPY . .
RUN npm install
CMD ["node", "server.js"]
EXPOSE 4008
EXPOSE 4008
6 changes: 6 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default {
setupFiles: ['./.jest/setEnvVars.js'],
// automock: true
transform: {}

};
Loading

0 comments on commit 4a9df82

Please sign in to comment.