├── .docker ├── node.development.dockerfile └── useful-commands.md ├── .editorconfig ├── .gitignore ├── .vscode ├── launch.json └── settings.json ├── README.md ├── angular.json ├── browserslist ├── config └── config.development.json ├── controllers └── api │ ├── customers │ └── customers.controller.js │ ├── states │ └── states.controller.js │ └── tokens │ └── tokens.controller.js ├── docker-compose.yml ├── e2e ├── app.e2e-spec.ts ├── app.po.ts └── tsconfig.e2e.json ├── karma.conf.js ├── lib ├── configLoader.js ├── customersRepository.js ├── database.js ├── dbSeeder.js └── statesRepository.js ├── models ├── customer.js └── state.js ├── package.json ├── public ├── 3rdpartylicenses.txt ├── assets │ ├── images │ │ ├── favicon.ico │ │ ├── female.png │ │ ├── male.png │ │ └── people.png │ └── styles │ │ └── styles.css ├── favicon.ico ├── index.html ├── main.d7eb249876df4f3c.js ├── polyfills.0ed53563d957f923.js ├── runtime.f47bad7546ed9af5.js └── styles.ef46db3751d8e999.css ├── routes └── router.js ├── server.js ├── src ├── app │ ├── app-routing.module.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── core │ │ ├── core.module.ts │ │ ├── core.module.ts.httpmodule │ │ ├── data-filter.service.ts │ │ ├── data.service.ts │ │ ├── data.service.ts.httpmodule │ │ ├── sorter.ts │ │ └── trackby.service.ts │ ├── customers │ │ ├── customer-edit-reactive.component.html │ │ ├── customer-edit-reactive.component.ts │ │ ├── customer-edit.component.html │ │ ├── customer-edit.component.ts │ │ ├── customers-grid.component.html │ │ ├── customers-grid.component.ts │ │ ├── customers.component.html │ │ └── customers.component.ts │ └── shared │ │ ├── ensureModuleLoadedOnceGuard.ts │ │ ├── filter-textbox │ │ └── filter-textbox.component.ts │ │ ├── interfaces.ts │ │ ├── pagination │ │ ├── pagination.component.css │ │ ├── pagination.component.html │ │ └── pagination.component.ts │ │ ├── pipes │ │ ├── capitalize.pipe.ts │ │ └── trim.pipe.ts │ │ ├── property-resolver.ts │ │ ├── shared.module.ts │ │ └── validation.service.ts ├── assets │ ├── .gitkeep │ ├── images │ │ ├── favicon.ico │ │ ├── female.png │ │ ├── male.png │ │ └── people.png │ └── styles │ │ └── styles.css ├── environments │ ├── environment.prod.ts │ └── environment.ts ├── favicon.ico ├── index.html ├── main.ts ├── polyfills.ts ├── styles.css └── test.ts ├── tsconfig.app.json ├── tsconfig.json └── tsconfig.spec.json /.docker/node.development.dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/.docker/node.development.dockerfile -------------------------------------------------------------------------------- /.docker/useful-commands.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/.docker/useful-commands.md -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/README.md -------------------------------------------------------------------------------- /angular.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/angular.json -------------------------------------------------------------------------------- /browserslist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/browserslist -------------------------------------------------------------------------------- /config/config.development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/config/config.development.json -------------------------------------------------------------------------------- /controllers/api/customers/customers.controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/controllers/api/customers/customers.controller.js -------------------------------------------------------------------------------- /controllers/api/states/states.controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/controllers/api/states/states.controller.js -------------------------------------------------------------------------------- /controllers/api/tokens/tokens.controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/controllers/api/tokens/tokens.controller.js -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /e2e/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/e2e/app.e2e-spec.ts -------------------------------------------------------------------------------- /e2e/app.po.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/e2e/app.po.ts -------------------------------------------------------------------------------- /e2e/tsconfig.e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/e2e/tsconfig.e2e.json -------------------------------------------------------------------------------- /karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/karma.conf.js -------------------------------------------------------------------------------- /lib/configLoader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/lib/configLoader.js -------------------------------------------------------------------------------- /lib/customersRepository.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/lib/customersRepository.js -------------------------------------------------------------------------------- /lib/database.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/lib/database.js -------------------------------------------------------------------------------- /lib/dbSeeder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/lib/dbSeeder.js -------------------------------------------------------------------------------- /lib/statesRepository.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/lib/statesRepository.js -------------------------------------------------------------------------------- /models/customer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/models/customer.js -------------------------------------------------------------------------------- /models/state.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/models/state.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/package.json -------------------------------------------------------------------------------- /public/3rdpartylicenses.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/public/3rdpartylicenses.txt -------------------------------------------------------------------------------- /public/assets/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/public/assets/images/favicon.ico -------------------------------------------------------------------------------- /public/assets/images/female.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/public/assets/images/female.png -------------------------------------------------------------------------------- /public/assets/images/male.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/public/assets/images/male.png -------------------------------------------------------------------------------- /public/assets/images/people.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/public/assets/images/people.png -------------------------------------------------------------------------------- /public/assets/styles/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/public/assets/styles/styles.css -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/public/index.html -------------------------------------------------------------------------------- /public/main.d7eb249876df4f3c.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/public/main.d7eb249876df4f3c.js -------------------------------------------------------------------------------- /public/polyfills.0ed53563d957f923.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/public/polyfills.0ed53563d957f923.js -------------------------------------------------------------------------------- /public/runtime.f47bad7546ed9af5.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/public/runtime.f47bad7546ed9af5.js -------------------------------------------------------------------------------- /public/styles.ef46db3751d8e999.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /routes/router.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/routes/router.js -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/server.js -------------------------------------------------------------------------------- /src/app/app-routing.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/app-routing.module.ts -------------------------------------------------------------------------------- /src/app/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/app.component.ts -------------------------------------------------------------------------------- /src/app/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/app.module.ts -------------------------------------------------------------------------------- /src/app/core/core.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/core/core.module.ts -------------------------------------------------------------------------------- /src/app/core/core.module.ts.httpmodule: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/core/core.module.ts.httpmodule -------------------------------------------------------------------------------- /src/app/core/data-filter.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/core/data-filter.service.ts -------------------------------------------------------------------------------- /src/app/core/data.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/core/data.service.ts -------------------------------------------------------------------------------- /src/app/core/data.service.ts.httpmodule: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/core/data.service.ts.httpmodule -------------------------------------------------------------------------------- /src/app/core/sorter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/core/sorter.ts -------------------------------------------------------------------------------- /src/app/core/trackby.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/core/trackby.service.ts -------------------------------------------------------------------------------- /src/app/customers/customer-edit-reactive.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/customers/customer-edit-reactive.component.html -------------------------------------------------------------------------------- /src/app/customers/customer-edit-reactive.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/customers/customer-edit-reactive.component.ts -------------------------------------------------------------------------------- /src/app/customers/customer-edit.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/customers/customer-edit.component.html -------------------------------------------------------------------------------- /src/app/customers/customer-edit.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/customers/customer-edit.component.ts -------------------------------------------------------------------------------- /src/app/customers/customers-grid.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/customers/customers-grid.component.html -------------------------------------------------------------------------------- /src/app/customers/customers-grid.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/customers/customers-grid.component.ts -------------------------------------------------------------------------------- /src/app/customers/customers.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/customers/customers.component.html -------------------------------------------------------------------------------- /src/app/customers/customers.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/customers/customers.component.ts -------------------------------------------------------------------------------- /src/app/shared/ensureModuleLoadedOnceGuard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/shared/ensureModuleLoadedOnceGuard.ts -------------------------------------------------------------------------------- /src/app/shared/filter-textbox/filter-textbox.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/shared/filter-textbox/filter-textbox.component.ts -------------------------------------------------------------------------------- /src/app/shared/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/shared/interfaces.ts -------------------------------------------------------------------------------- /src/app/shared/pagination/pagination.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/shared/pagination/pagination.component.css -------------------------------------------------------------------------------- /src/app/shared/pagination/pagination.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/shared/pagination/pagination.component.html -------------------------------------------------------------------------------- /src/app/shared/pagination/pagination.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/shared/pagination/pagination.component.ts -------------------------------------------------------------------------------- /src/app/shared/pipes/capitalize.pipe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/shared/pipes/capitalize.pipe.ts -------------------------------------------------------------------------------- /src/app/shared/pipes/trim.pipe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/shared/pipes/trim.pipe.ts -------------------------------------------------------------------------------- /src/app/shared/property-resolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/shared/property-resolver.ts -------------------------------------------------------------------------------- /src/app/shared/shared.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/shared/shared.module.ts -------------------------------------------------------------------------------- /src/app/shared/validation.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/app/shared/validation.service.ts -------------------------------------------------------------------------------- /src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/assets/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/assets/images/favicon.ico -------------------------------------------------------------------------------- /src/assets/images/female.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/assets/images/female.png -------------------------------------------------------------------------------- /src/assets/images/male.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/assets/images/male.png -------------------------------------------------------------------------------- /src/assets/images/people.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/assets/images/people.png -------------------------------------------------------------------------------- /src/assets/styles/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/assets/styles/styles.css -------------------------------------------------------------------------------- /src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /src/environments/environment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/environments/environment.ts -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/favicon.ico -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/index.html -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/polyfills.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/polyfills.ts -------------------------------------------------------------------------------- /src/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/styles.css -------------------------------------------------------------------------------- /src/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/src/test.ts -------------------------------------------------------------------------------- /tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/tsconfig.app.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanWahlin/AngularCLI-NodeJS-MongoDB-CustomersService/HEAD/tsconfig.spec.json --------------------------------------------------------------------------------