├── .env ├── LICENSE ├── README.md ├── docker-compose.yml ├── jest.config.js ├── package.json ├── src ├── app.ts ├── controllers │ ├── index.controller.ts │ ├── test.controller.ts │ └── users.controller.ts ├── dtos │ └── users.dto.ts ├── exceptions │ └── HttpException.ts ├── interfaces │ ├── routes.interface.ts │ └── users.interface.ts ├── middlewares │ ├── error.middleware.ts │ ├── validation.middleware.ts │ └── validationJsonResponse.middleware.ts ├── models │ └── users.model.ts ├── routes │ ├── index.route.ts │ ├── test.route.ts │ └── users.route.ts ├── server.ts ├── services │ └── users.service.ts ├── swagger-docs │ ├── pet.yaml │ ├── swagger.json │ └── user.yaml └── utils │ ├── swaggerIgnite.ts │ └── validateEnv.ts ├── tsconfig.json └── tslint.json /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/.env -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/package.json -------------------------------------------------------------------------------- /src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/app.ts -------------------------------------------------------------------------------- /src/controllers/index.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/controllers/index.controller.ts -------------------------------------------------------------------------------- /src/controllers/test.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/controllers/test.controller.ts -------------------------------------------------------------------------------- /src/controllers/users.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/controllers/users.controller.ts -------------------------------------------------------------------------------- /src/dtos/users.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/dtos/users.dto.ts -------------------------------------------------------------------------------- /src/exceptions/HttpException.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/exceptions/HttpException.ts -------------------------------------------------------------------------------- /src/interfaces/routes.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/interfaces/routes.interface.ts -------------------------------------------------------------------------------- /src/interfaces/users.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/interfaces/users.interface.ts -------------------------------------------------------------------------------- /src/middlewares/error.middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/middlewares/error.middleware.ts -------------------------------------------------------------------------------- /src/middlewares/validation.middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/middlewares/validation.middleware.ts -------------------------------------------------------------------------------- /src/middlewares/validationJsonResponse.middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/middlewares/validationJsonResponse.middleware.ts -------------------------------------------------------------------------------- /src/models/users.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/models/users.model.ts -------------------------------------------------------------------------------- /src/routes/index.route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/routes/index.route.ts -------------------------------------------------------------------------------- /src/routes/test.route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/routes/test.route.ts -------------------------------------------------------------------------------- /src/routes/users.route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/routes/users.route.ts -------------------------------------------------------------------------------- /src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/server.ts -------------------------------------------------------------------------------- /src/services/users.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/services/users.service.ts -------------------------------------------------------------------------------- /src/swagger-docs/pet.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/swagger-docs/pet.yaml -------------------------------------------------------------------------------- /src/swagger-docs/swagger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/swagger-docs/swagger.json -------------------------------------------------------------------------------- /src/swagger-docs/user.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/swagger-docs/user.yaml -------------------------------------------------------------------------------- /src/utils/swaggerIgnite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/utils/swaggerIgnite.ts -------------------------------------------------------------------------------- /src/utils/validateEnv.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/src/utils/validateEnv.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipinkavlar/node-express-typescript-mongodb-swagger/HEAD/tslint.json --------------------------------------------------------------------------------