├── .gitignore ├── README.md ├── dist ├── app.js ├── app.js.map ├── controllers │ ├── car.controller.js │ ├── car.controller.js.map │ ├── truck.controller.js │ └── truck.controller.js.map ├── index.js ├── index.js.map ├── interfaces │ └── entities │ │ ├── Car.js │ │ ├── Car.js.map │ │ ├── Truck.js │ │ ├── Truck.js.map │ │ └── interfaces │ │ ├── IVehicle.js │ │ └── IVehicle.js.map └── services │ ├── IdataService.js │ ├── IdataService.js.map │ ├── car.service.js │ ├── car.service.js.map │ ├── dataservice.service.js │ ├── dataservice.service.js.map │ ├── truck.service.js │ └── truck.service.js.map ├── node.png ├── ormconfig.json ├── package.json ├── src ├── app.ts ├── controllers │ ├── car.controller.ts │ └── truck.controller.ts ├── index.ts ├── interfaces │ └── entities │ │ ├── Car.ts │ │ ├── Truck.ts │ │ └── interfaces │ │ └── IVehicle.ts └── services │ ├── IdataService.ts │ ├── car.service.ts │ ├── dataservice.service.ts │ └── truck.service.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/README.md -------------------------------------------------------------------------------- /dist/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/app.js -------------------------------------------------------------------------------- /dist/app.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/app.js.map -------------------------------------------------------------------------------- /dist/controllers/car.controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/controllers/car.controller.js -------------------------------------------------------------------------------- /dist/controllers/car.controller.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/controllers/car.controller.js.map -------------------------------------------------------------------------------- /dist/controllers/truck.controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/controllers/truck.controller.js -------------------------------------------------------------------------------- /dist/controllers/truck.controller.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/controllers/truck.controller.js.map -------------------------------------------------------------------------------- /dist/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/index.js -------------------------------------------------------------------------------- /dist/index.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/index.js.map -------------------------------------------------------------------------------- /dist/interfaces/entities/Car.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/interfaces/entities/Car.js -------------------------------------------------------------------------------- /dist/interfaces/entities/Car.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/interfaces/entities/Car.js.map -------------------------------------------------------------------------------- /dist/interfaces/entities/Truck.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/interfaces/entities/Truck.js -------------------------------------------------------------------------------- /dist/interfaces/entities/Truck.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/interfaces/entities/Truck.js.map -------------------------------------------------------------------------------- /dist/interfaces/entities/interfaces/IVehicle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/interfaces/entities/interfaces/IVehicle.js -------------------------------------------------------------------------------- /dist/interfaces/entities/interfaces/IVehicle.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/interfaces/entities/interfaces/IVehicle.js.map -------------------------------------------------------------------------------- /dist/services/IdataService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/services/IdataService.js -------------------------------------------------------------------------------- /dist/services/IdataService.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/services/IdataService.js.map -------------------------------------------------------------------------------- /dist/services/car.service.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/services/car.service.js -------------------------------------------------------------------------------- /dist/services/car.service.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/services/car.service.js.map -------------------------------------------------------------------------------- /dist/services/dataservice.service.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/services/dataservice.service.js -------------------------------------------------------------------------------- /dist/services/dataservice.service.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/services/dataservice.service.js.map -------------------------------------------------------------------------------- /dist/services/truck.service.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/services/truck.service.js -------------------------------------------------------------------------------- /dist/services/truck.service.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/dist/services/truck.service.js.map -------------------------------------------------------------------------------- /node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/node.png -------------------------------------------------------------------------------- /ormconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/ormconfig.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/package.json -------------------------------------------------------------------------------- /src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/src/app.ts -------------------------------------------------------------------------------- /src/controllers/car.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/src/controllers/car.controller.ts -------------------------------------------------------------------------------- /src/controllers/truck.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/src/controllers/truck.controller.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interfaces/entities/Car.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/src/interfaces/entities/Car.ts -------------------------------------------------------------------------------- /src/interfaces/entities/Truck.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/src/interfaces/entities/Truck.ts -------------------------------------------------------------------------------- /src/interfaces/entities/interfaces/IVehicle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/src/interfaces/entities/interfaces/IVehicle.ts -------------------------------------------------------------------------------- /src/services/IdataService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/src/services/IdataService.ts -------------------------------------------------------------------------------- /src/services/car.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/src/services/car.service.ts -------------------------------------------------------------------------------- /src/services/dataservice.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/src/services/dataservice.service.ts -------------------------------------------------------------------------------- /src/services/truck.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/src/services/truck.service.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hbkhum/node-js-backend/HEAD/tsconfig.json --------------------------------------------------------------------------------