├── .DS_Store ├── .browserslistrc ├── .devcontainer └── devcontainer.json ├── .env ├── .env.example ├── .eslintignore ├── .eslintrc ├── .gitignore ├── .prettierrc ├── .vscode ├── extensions.json ├── launch.json ├── settings.json └── tasks.json ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── SECURITY.md ├── angular.json ├── package.json ├── proxy.conf.json ├── resources └── refactor-nodejs-azure-functions.png ├── server ├── .gitignore ├── data │ └── vacations.json ├── index.ts ├── models │ └── vacation.model.ts ├── routes │ ├── index.ts │ └── vacation.routes.ts ├── server.ts ├── services │ ├── index.ts │ └── vacation.service.ts └── tsconfig.json ├── src ├── app │ ├── about.component.ts │ ├── app.component.html │ ├── app.component.scss │ ├── app.component.ts │ ├── app.module.ts │ ├── core │ │ ├── header-bar-brand.component.ts │ │ ├── header-bar-links.component.ts │ │ ├── header-bar.component.ts │ │ ├── index.ts │ │ ├── nav.component.ts │ │ ├── not-found.component.ts │ │ └── vacation.ts │ ├── router.ts │ ├── shared │ │ ├── button-footer.component.ts │ │ ├── card-content.component.ts │ │ ├── list-header.component.ts │ │ ├── modal.component.ts │ │ └── shared.module.ts │ ├── store │ │ ├── config.ts │ │ ├── entity-metadata.ts │ │ └── store.module.ts │ └── vacations │ │ ├── vacation-detail.component.ts │ │ ├── vacation-list.component.ts │ │ ├── vacation.service.ts │ │ ├── vacations.component.ts │ │ └── vacations.module.ts ├── assets │ └── .gitkeep ├── environments │ ├── environment.prod.ts │ └── environment.ts ├── favicon.ico ├── index.html ├── karma.conf.js ├── main.ts ├── polyfills.ts ├── styles.scss ├── test.ts ├── tsconfig.app.json ├── tsconfig.spec.json └── tslint.json ├── tsconfig.json └── tslint.json /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/.DS_Store -------------------------------------------------------------------------------- /.browserslistrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/.browserslistrc -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | PORT=7070 3 | WWW=./ 4 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | PORT=7070 3 | WWW=./ 4 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/SECURITY.md -------------------------------------------------------------------------------- /angular.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/angular.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/package.json -------------------------------------------------------------------------------- /proxy.conf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/proxy.conf.json -------------------------------------------------------------------------------- /resources/refactor-nodejs-azure-functions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/resources/refactor-nodejs-azure-functions.png -------------------------------------------------------------------------------- /server/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist/ -------------------------------------------------------------------------------- /server/data/vacations.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/server/data/vacations.json -------------------------------------------------------------------------------- /server/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/server/index.ts -------------------------------------------------------------------------------- /server/models/vacation.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/server/models/vacation.model.ts -------------------------------------------------------------------------------- /server/routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/server/routes/index.ts -------------------------------------------------------------------------------- /server/routes/vacation.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/server/routes/vacation.routes.ts -------------------------------------------------------------------------------- /server/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/server/server.ts -------------------------------------------------------------------------------- /server/services/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/server/services/index.ts -------------------------------------------------------------------------------- /server/services/vacation.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/server/services/vacation.service.ts -------------------------------------------------------------------------------- /server/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/server/tsconfig.json -------------------------------------------------------------------------------- /src/app/about.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/about.component.ts -------------------------------------------------------------------------------- /src/app/app.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/app.component.html -------------------------------------------------------------------------------- /src/app/app.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/app.component.ts -------------------------------------------------------------------------------- /src/app/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/app.module.ts -------------------------------------------------------------------------------- /src/app/core/header-bar-brand.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/core/header-bar-brand.component.ts -------------------------------------------------------------------------------- /src/app/core/header-bar-links.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/core/header-bar-links.component.ts -------------------------------------------------------------------------------- /src/app/core/header-bar.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/core/header-bar.component.ts -------------------------------------------------------------------------------- /src/app/core/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/core/index.ts -------------------------------------------------------------------------------- /src/app/core/nav.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/core/nav.component.ts -------------------------------------------------------------------------------- /src/app/core/not-found.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/core/not-found.component.ts -------------------------------------------------------------------------------- /src/app/core/vacation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/core/vacation.ts -------------------------------------------------------------------------------- /src/app/router.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/router.ts -------------------------------------------------------------------------------- /src/app/shared/button-footer.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/shared/button-footer.component.ts -------------------------------------------------------------------------------- /src/app/shared/card-content.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/shared/card-content.component.ts -------------------------------------------------------------------------------- /src/app/shared/list-header.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/shared/list-header.component.ts -------------------------------------------------------------------------------- /src/app/shared/modal.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/shared/modal.component.ts -------------------------------------------------------------------------------- /src/app/shared/shared.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/shared/shared.module.ts -------------------------------------------------------------------------------- /src/app/store/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/store/config.ts -------------------------------------------------------------------------------- /src/app/store/entity-metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/store/entity-metadata.ts -------------------------------------------------------------------------------- /src/app/store/store.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/store/store.module.ts -------------------------------------------------------------------------------- /src/app/vacations/vacation-detail.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/vacations/vacation-detail.component.ts -------------------------------------------------------------------------------- /src/app/vacations/vacation-list.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/vacations/vacation-list.component.ts -------------------------------------------------------------------------------- /src/app/vacations/vacation.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/vacations/vacation.service.ts -------------------------------------------------------------------------------- /src/app/vacations/vacations.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/vacations/vacations.component.ts -------------------------------------------------------------------------------- /src/app/vacations/vacations.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/app/vacations/vacations.module.ts -------------------------------------------------------------------------------- /src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/environments/environment.prod.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/environments/environment.prod.ts -------------------------------------------------------------------------------- /src/environments/environment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/environments/environment.ts -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/favicon.ico -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/index.html -------------------------------------------------------------------------------- /src/karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/karma.conf.js -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/polyfills.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/polyfills.ts -------------------------------------------------------------------------------- /src/styles.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/styles.scss -------------------------------------------------------------------------------- /src/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/test.ts -------------------------------------------------------------------------------- /src/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/tsconfig.app.json -------------------------------------------------------------------------------- /src/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/tsconfig.spec.json -------------------------------------------------------------------------------- /src/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/src/tslint.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MicrosoftDocs/mslearn-module-shifting-nodejs-express-apis-to-serverless/HEAD/tslint.json --------------------------------------------------------------------------------