Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 62 additions & 62 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,62 +1,62 @@

.DS_Store

/data
/xig/data

node_modules/

data/config.json

validator_cli.jar

xig/xig-download.log

.idea/codeStyles/

data/logs/

registry/registry-data.json

xig-download.log

locator/

tests/library/.last-integration-test-run

package-cache/

data/passwords.ini

test-cache/

tests/vs/.vsac-last-run

data/terminology-cache/

data/shl/private-key.pem

data/shl/public-key.pem

data/bin/validator_cli.jar.version

tx/tests/test-cases-summary.txt

.idea/

bin/validator_cli.jar.version

*.log

test-cases-summary.txt
test-cases-report.json

tx/data/CodeSystem-cpt.db

coverage/

.claude/

private/

.vscode/
.DS_Store
/data
/xig/data
node_modules/
data/config.json
validator_cli.jar
xig/xig-download.log
.idea/codeStyles/
data/logs/
registry/registry-data.json
xig-download.log
locator/
tests/library/.last-integration-test-run
package-cache/
data/passwords.ini
test-cache/
tests/vs/.vsac-last-run
data/terminology-cache/
data/shl/private-key.pem
data/shl/public-key.pem
data/bin/validator_cli.jar.version
tx/tests/test-cases-summary.txt
.idea/
bin/validator_cli.jar.version
*.log
test-cases-summary.txt
test-cases-report.json
tx/data/CodeSystem-cpt.db
coverage/
.claude/
private/
.vscode/
46 changes: 46 additions & 0 deletions config-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,52 @@
"searchParametersPath": null,
"debounceMs": 500
},
"feed": {
"enabled": false,
"baseUrl": "" // optional; if empty, derived from request host. Set when behind a reverse proxy.
},
"token": {
"enabled": true,
"database": "/absolute/path/to/token.db",
"sessionSecret": "change-this-to-a-secure-random-string-for-token-sessions",
"oauth": {
"google": {
"clientId": "your-google-client-id",
"clientSecret": "your-google-client-secret",
"redirectUri": "http://localhost:3000/token/callback/google",
"scope": ["openid", "profile", "email"]
},
"facebook": {
"clientId": "your-facebook-app-id",
"clientSecret": "your-facebook-app-secret",
"redirectUri": "http://localhost:3000/token/callback/facebook",
"scope": ["email"]
},
"apple": {
"clientId": "your-apple-service-id",
"teamId": "your-apple-team-id",
"keyId": "your-apple-key-id",
"privateKey": "/path/to/apple-private-key.p8",
"redirectUri": "http://localhost:3000/token/callback/apple",
"scope": ["email", "name"]
},
"github": {
"clientId": "your-github-client-id",
"clientSecret": "your-github-client-secret",
"redirectUri": "http://localhost:3000/token/callback/github",
"scope": ["user:email"]
}
},
"apiKeys": {
"defaultAllowedRequests": 50,
"maxKeysPerUser": 10,
"keyExpiration": null
},
"rateLimit": {
"windowMs": 900000,
"max": 100
}
},
"tx": {
"enabled": false,
"librarySource": "/absolute/path/to/library.yml",
Expand Down
Loading
Loading