Skip to content

Instantly share code, notes, and snippets.

View mathisGarberg's full-sized avatar
☃️
developing

Mathis mathisGarberg

☃️
developing
View GitHub Profile
const express = require('express');
class AppModel {
constructor(NAME) {
this.NAME = NAME;
this.appimage = express();
}
withSwagger(docName) {
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');
▽ assets
▽ i18n
lang-a.json
lang-b.json
▽ images
image-a.svg
image-b.svg
▽ static
structure-a.json
structure-b.json
styles.scss
▽ styles
app-loading.scss
company-colors.scss
spinners.scss
variables.scss
styles.scss
▽ styles
app-loading.scss
company-colors.scss
spinners.scss
variables.scss
∇ 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
∇ shared
∇ components
∇ shared-button
shared-button.component.html|scss|ts
∇ directives
shared-directive.ts
∇ pipes
shared-pipe.ts
shared.module.ts
∇ 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
@mathisGarberg
mathisGarberg / 2020-angular-structure
Last active February 3, 2024 15:37
angular folder structure 2020
∇ app
∇ core
∇ guards
auth.guard.ts
module-import.guard.ts
no-auth.guard.ts
∇ interceptor
token.interceptor.ts
error.interceptor.ts
∇ services