This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'); | |
class AppModel { | |
constructor(NAME) { | |
this.NAME = NAME; | |
this.appimage = express(); | |
} | |
withSwagger(docName) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express require('express'); | |
const swaggerUi = require('swagger-ui-express'); | |
const swaggerDocument = require(docName); | |
const app = express(); | |
app.use('/doc', swaggerUi.server, swaggerUi.setup(swaggerDocument)); | |
app.get('/', (req, res) => { | |
res.send('Hello World'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
▽ assets | |
▽ i18n | |
lang-a.json | |
lang-b.json | |
▽ images | |
image-a.svg | |
image-b.svg | |
▽ static | |
structure-a.json | |
structure-b.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
styles.scss | |
▽ styles | |
app-loading.scss | |
company-colors.scss | |
spinners.scss | |
variables.scss |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
styles.scss | |
▽ styles | |
app-loading.scss | |
company-colors.scss | |
spinners.scss | |
variables.scss |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
∇ features | |
∇ feature-a | |
∇ components | |
∇ scoped-component-a | |
scoped-component-a.component.html|scss|ts | |
∇ scope-component-b | |
scoped-component-b.component.html|scss|ts | |
∇ pages | |
∇ page-a | |
page-a.component.html|scss|ts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
∇ core | |
∇ guards | |
auth.guard.ts | |
module-import.guard.ts | |
no-auth.guard.ts | |
∇ interceptor | |
token.interceptor.ts | |
error.interceptor.ts | |
∇ services | |
service-a.service.ts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
∇ app | |
∇ core | |
∇ guards | |
auth.guard.ts | |
module-import.guard.ts | |
no-auth.guard.ts | |
∇ interceptor | |
token.interceptor.ts | |
error.interceptor.ts | |
∇ services |