Skip to content

Commit

Permalink
Merge pull request #16 from bbgrabbag/qrcode-accesstoken
Browse files Browse the repository at this point in the history
qrcode accesstoken
  • Loading branch information
bbgrabbag authored Feb 14, 2024
2 parents aadd2cb + 33623eb commit 33455f4
Show file tree
Hide file tree
Showing 17 changed files with 1,996 additions and 137 deletions.
20 changes: 20 additions & 0 deletions .env.vault
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#/-------------------.env.vault---------------------/
#/ cloud-agnostic vaulting standard /
#/ [how it works](https://dotenvx.com/env-vault) /
#/--------------------------------------------------/

# port
PORT="8080"

# secret
SECRET="dev only"

# admin_client_base_url
ADMIN_CLIENT_BASE_URL="http://localhost:5500/index.html"

# development
DOTENV_VAULT_DEVELOPMENT="8edcYA3yKh96Yy3UMbaEjXKKDFuHshM6rzDyD7sCrIQkVxZjkPHQ0rDUF8/9OlQtHW8AxhFGSfguKMhKu4kF+9fcHXjZXNqp2wciuclywd/S4lslLkwOrLrUyxpyCVbN2ga8B24Fttzxrz3zNQNioA=="

# ci
DOTENV_VAULT_CI="qd0Gl2+AMvFDIUaGG8kqq/D4JpvdlkzesWmy79OqVEfakcu4N9kYt0JhU4PlP6T5BoyPUkgmG2N6YVdNoPKXMhlv7CMFdQoh+FxNsOkWS3kAaDI+IJY+Zj/xWAN9BzRzYjYLMQtztsaG90gWj4jrbM4r5A=="

2 changes: 2 additions & 0 deletions .github/workflows/run-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ jobs:
node-version: "20"
- run: npm install
- run: npm t
env:
DOTENV_KEY: ${{ secrets.DOTENV_KEY }}
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
node_modules
dist
tmp
.env

# environment variables
.env
.env.ci
.env.keys
1 change: 1 addition & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"request": "launch",
"name": "Launch Server",
"skipFiles": ["<node_internals>/**"],
"envFile": "${workspaceFolder}/.env",
"program": "${workspaceFolder}/tmp/index.js",
"preLaunchTask": "tsc: build - tsconfig.debug.json",
"outFiles": ["${workspaceFolder}/tmp/**/*.js"],
Expand Down
2 changes: 2 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ const config: Config = {
testEnvironment: "node",
preset: "ts-jest",
testMatch: ["**/*.test.ts"],
clearMocks: true,
setupFiles: ["<rootDir>/src/__tests__/setup.ts"],
};

export default config;
Loading

0 comments on commit 33455f4

Please sign in to comment.