Initial commit server prototype

This commit is contained in:
Methapon2001 2023-11-17 09:03:31 +07:00
parent e9aaec2947
commit 5a120dce76
No known key found for this signature in database
GPG key ID: 849924FEF46BD132
23 changed files with 4110 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{
"entryFile": "src/app.ts",
"noImplicitAdditionalProperties": "throw-on-extras",
"controllerPathGlobs": ["src/**/*Controller.ts"],
"spec": {
"specVersion": 3,
"outputDirectory": "src",
"basePath": "/api",
"spec": {
"info": {
"title": "BMA EHR - Test Service API",
"version": "0.0.1",
"description": "Best practice for initialize express project",
"license": {
"name": "by Frappet",
"url": "https://frappet.com"
}
},
"basePath": "/api"
},
"securityDefinitions": {
"bearerAuth": {
"type": "apiKey",
"name": "Authorization",
"description": "Keycloak Bearer Token",
"in": "header"
}
}
},
"routes": {
"routesDir": "src",
"authenticationModule": "src/utils/auth.ts"
}
}