├── .gitignore ├── README.md ├── chat-service ├── .dockerignore ├── .env.example ├── Dockerfile ├── package-lock.json ├── package.json ├── src │ ├── app.ts │ ├── config │ │ └── config.ts │ ├── controllers │ │ └── MessageController.ts │ ├── database │ │ ├── connection.ts │ │ ├── index.ts │ │ └── models │ │ │ └── MessageModel.ts │ ├── middleware │ │ └── index.ts │ ├── routes │ │ └── messageRoutes.ts │ ├── server.ts │ ├── services │ │ └── RabbitMQService.ts │ └── utils │ │ ├── apiError.ts │ │ ├── index.ts │ │ ├── messageHandler.ts │ │ └── userStatusStore.ts └── tsconfig.json ├── docker-compose.yml ├── gateway ├── index.ts ├── package-lock.json └── package.json ├── nginx ├── Dockerfile └── nginx.conf ├── notification-service ├── .dockerignore ├── .env.example ├── Dockerfile ├── package-lock.json ├── package.json ├── src │ ├── config │ │ └── config.ts │ ├── middleware │ │ └── index.ts │ ├── server.ts │ ├── services │ │ ├── EmailService.ts │ │ ├── FCMService.ts │ │ ├── RabbitMQService.ts │ │ └── index.ts │ └── utils │ │ ├── apiError.ts │ │ ├── index.ts │ │ └── userStatusStore.ts └── tsconfig.json └── user-service ├── .dockerignore ├── .env.example ├── Dockerfile ├── package-lock.json ├── package.json ├── src ├── config │ └── config.ts ├── controllers │ └── AuthController.ts ├── database │ ├── connection.ts │ ├── index.ts │ └── models │ │ └── UserModel.ts ├── middleware │ └── index.ts ├── routes │ └── authRoutes.ts ├── server.ts ├── services │ └── RabbitMQService.ts └── utils │ └── index.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/README.md -------------------------------------------------------------------------------- /chat-service/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/.dockerignore -------------------------------------------------------------------------------- /chat-service/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/.env.example -------------------------------------------------------------------------------- /chat-service/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/Dockerfile -------------------------------------------------------------------------------- /chat-service/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/package-lock.json -------------------------------------------------------------------------------- /chat-service/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/package.json -------------------------------------------------------------------------------- /chat-service/src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/src/app.ts -------------------------------------------------------------------------------- /chat-service/src/config/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/src/config/config.ts -------------------------------------------------------------------------------- /chat-service/src/controllers/MessageController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/src/controllers/MessageController.ts -------------------------------------------------------------------------------- /chat-service/src/database/connection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/src/database/connection.ts -------------------------------------------------------------------------------- /chat-service/src/database/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/src/database/index.ts -------------------------------------------------------------------------------- /chat-service/src/database/models/MessageModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/src/database/models/MessageModel.ts -------------------------------------------------------------------------------- /chat-service/src/middleware/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/src/middleware/index.ts -------------------------------------------------------------------------------- /chat-service/src/routes/messageRoutes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/src/routes/messageRoutes.ts -------------------------------------------------------------------------------- /chat-service/src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/src/server.ts -------------------------------------------------------------------------------- /chat-service/src/services/RabbitMQService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/src/services/RabbitMQService.ts -------------------------------------------------------------------------------- /chat-service/src/utils/apiError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/src/utils/apiError.ts -------------------------------------------------------------------------------- /chat-service/src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/src/utils/index.ts -------------------------------------------------------------------------------- /chat-service/src/utils/messageHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/src/utils/messageHandler.ts -------------------------------------------------------------------------------- /chat-service/src/utils/userStatusStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/src/utils/userStatusStore.ts -------------------------------------------------------------------------------- /chat-service/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/chat-service/tsconfig.json -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /gateway/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/gateway/index.ts -------------------------------------------------------------------------------- /gateway/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/gateway/package-lock.json -------------------------------------------------------------------------------- /gateway/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/gateway/package.json -------------------------------------------------------------------------------- /nginx/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/nginx/Dockerfile -------------------------------------------------------------------------------- /nginx/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/nginx/nginx.conf -------------------------------------------------------------------------------- /notification-service/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/notification-service/.dockerignore -------------------------------------------------------------------------------- /notification-service/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/notification-service/.env.example -------------------------------------------------------------------------------- /notification-service/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/notification-service/Dockerfile -------------------------------------------------------------------------------- /notification-service/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/notification-service/package-lock.json -------------------------------------------------------------------------------- /notification-service/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/notification-service/package.json -------------------------------------------------------------------------------- /notification-service/src/config/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/notification-service/src/config/config.ts -------------------------------------------------------------------------------- /notification-service/src/middleware/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/notification-service/src/middleware/index.ts -------------------------------------------------------------------------------- /notification-service/src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/notification-service/src/server.ts -------------------------------------------------------------------------------- /notification-service/src/services/EmailService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/notification-service/src/services/EmailService.ts -------------------------------------------------------------------------------- /notification-service/src/services/FCMService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/notification-service/src/services/FCMService.ts -------------------------------------------------------------------------------- /notification-service/src/services/RabbitMQService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/notification-service/src/services/RabbitMQService.ts -------------------------------------------------------------------------------- /notification-service/src/services/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/notification-service/src/services/index.ts -------------------------------------------------------------------------------- /notification-service/src/utils/apiError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/notification-service/src/utils/apiError.ts -------------------------------------------------------------------------------- /notification-service/src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/notification-service/src/utils/index.ts -------------------------------------------------------------------------------- /notification-service/src/utils/userStatusStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/notification-service/src/utils/userStatusStore.ts -------------------------------------------------------------------------------- /notification-service/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/notification-service/tsconfig.json -------------------------------------------------------------------------------- /user-service/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/user-service/.dockerignore -------------------------------------------------------------------------------- /user-service/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/user-service/.env.example -------------------------------------------------------------------------------- /user-service/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/user-service/Dockerfile -------------------------------------------------------------------------------- /user-service/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/user-service/package-lock.json -------------------------------------------------------------------------------- /user-service/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/user-service/package.json -------------------------------------------------------------------------------- /user-service/src/config/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/user-service/src/config/config.ts -------------------------------------------------------------------------------- /user-service/src/controllers/AuthController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/user-service/src/controllers/AuthController.ts -------------------------------------------------------------------------------- /user-service/src/database/connection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/user-service/src/database/connection.ts -------------------------------------------------------------------------------- /user-service/src/database/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/user-service/src/database/index.ts -------------------------------------------------------------------------------- /user-service/src/database/models/UserModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/user-service/src/database/models/UserModel.ts -------------------------------------------------------------------------------- /user-service/src/middleware/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/user-service/src/middleware/index.ts -------------------------------------------------------------------------------- /user-service/src/routes/authRoutes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/user-service/src/routes/authRoutes.ts -------------------------------------------------------------------------------- /user-service/src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/user-service/src/server.ts -------------------------------------------------------------------------------- /user-service/src/services/RabbitMQService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/user-service/src/services/RabbitMQService.ts -------------------------------------------------------------------------------- /user-service/src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/user-service/src/utils/index.ts -------------------------------------------------------------------------------- /user-service/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davydocsurg/chat-server/HEAD/user-service/tsconfig.json --------------------------------------------------------------------------------