├── .gitignore ├── LICENSE ├── MONGO API.postman_collection.json ├── README.md ├── config ├── app.ts ├── cloudinary.ts ├── constants.ts ├── database.ts └── swagger.ts ├── controllers ├── serverController.ts └── userController.ts ├── helpers ├── logger.ts └── validateBody.ts ├── index.ts ├── middleware ├── errorHandler.ts ├── multer.ts └── useMiddleware.ts ├── models └── userModel.ts ├── package.json ├── repositories └── userRepository.ts ├── routes └── index.ts ├── services ├── cloudinaryService.ts └── userService.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/LICENSE -------------------------------------------------------------------------------- /MONGO API.postman_collection.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/MONGO API.postman_collection.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/README.md -------------------------------------------------------------------------------- /config/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/config/app.ts -------------------------------------------------------------------------------- /config/cloudinary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/config/cloudinary.ts -------------------------------------------------------------------------------- /config/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/config/constants.ts -------------------------------------------------------------------------------- /config/database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/config/database.ts -------------------------------------------------------------------------------- /config/swagger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/config/swagger.ts -------------------------------------------------------------------------------- /controllers/serverController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/controllers/serverController.ts -------------------------------------------------------------------------------- /controllers/userController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/controllers/userController.ts -------------------------------------------------------------------------------- /helpers/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/helpers/logger.ts -------------------------------------------------------------------------------- /helpers/validateBody.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/helpers/validateBody.ts -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/index.ts -------------------------------------------------------------------------------- /middleware/errorHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/middleware/errorHandler.ts -------------------------------------------------------------------------------- /middleware/multer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/middleware/multer.ts -------------------------------------------------------------------------------- /middleware/useMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/middleware/useMiddleware.ts -------------------------------------------------------------------------------- /models/userModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/models/userModel.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/package.json -------------------------------------------------------------------------------- /repositories/userRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/repositories/userRepository.ts -------------------------------------------------------------------------------- /routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/routes/index.ts -------------------------------------------------------------------------------- /services/cloudinaryService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/services/cloudinaryService.ts -------------------------------------------------------------------------------- /services/userService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/services/userService.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/git-dariel/Mongo/HEAD/tsconfig.json --------------------------------------------------------------------------------