├── .gitignore ├── README.md ├── jest.config.js ├── jest.setup.ts ├── package.json ├── src ├── app.ts ├── config │ ├── container.ts │ └── env.ts ├── constants │ └── types.ts ├── controllers │ ├── home.controller.ts │ ├── products.controller.test.ts │ └── products.controller.ts ├── db │ ├── models │ │ └── product.db.model.ts │ └── utils │ │ ├── connection.db.test.ts │ │ └── connection.db.ts ├── services │ ├── home.service.ts │ ├── products.service.test.ts │ └── products.service.ts └── tests │ └── utils │ └── dbmock.ts ├── tsconfig.json ├── tsconfig.prod.json ├── tslint.json ├── webpack.dev.config.js └── webpack.prod.config.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/README.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/jest.config.js -------------------------------------------------------------------------------- /jest.setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/jest.setup.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/package.json -------------------------------------------------------------------------------- /src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/src/app.ts -------------------------------------------------------------------------------- /src/config/container.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/src/config/container.ts -------------------------------------------------------------------------------- /src/config/env.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/src/config/env.ts -------------------------------------------------------------------------------- /src/constants/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/src/constants/types.ts -------------------------------------------------------------------------------- /src/controllers/home.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/src/controllers/home.controller.ts -------------------------------------------------------------------------------- /src/controllers/products.controller.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/src/controllers/products.controller.test.ts -------------------------------------------------------------------------------- /src/controllers/products.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/src/controllers/products.controller.ts -------------------------------------------------------------------------------- /src/db/models/product.db.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/src/db/models/product.db.model.ts -------------------------------------------------------------------------------- /src/db/utils/connection.db.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/src/db/utils/connection.db.test.ts -------------------------------------------------------------------------------- /src/db/utils/connection.db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/src/db/utils/connection.db.ts -------------------------------------------------------------------------------- /src/services/home.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/src/services/home.service.ts -------------------------------------------------------------------------------- /src/services/products.service.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/src/services/products.service.test.ts -------------------------------------------------------------------------------- /src/services/products.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/src/services/products.service.ts -------------------------------------------------------------------------------- /src/tests/utils/dbmock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/src/tests/utils/dbmock.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.prod.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/tsconfig.prod.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/tslint.json -------------------------------------------------------------------------------- /webpack.dev.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/webpack.dev.config.js -------------------------------------------------------------------------------- /webpack.prod.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohadinho/product-inventory/HEAD/webpack.prod.config.js --------------------------------------------------------------------------------