This service is responsible for handling actions with messages.
- Connecting users to room
- Disconnecting users from room
- Creating messages
- Editing messages
- Deleting messages
- Searching messages
- Loading messages
- Delete user from the room
- Response with user rights
- Change user rights
- Clone this repository
git clone https://github.com/S-Sergio-A/messages-microservice.git
- Navigate to the root directory and add the
.env
file with your database and microservice data:
MONGO_USERNAME
MONGO_PASSWORD
MONGO_CLUSTER_URL
MONGO_USER_DATABASE_NAME
MONGO_ROOMS_DATABASE_NAME
MONGO_MESSAGES_DATABASE_NAME
REDIS_DB_NAME
REDIS_PASSWORD
REDIS_ENDPOINT
REDIS_PORT
CLOUDINARY_API_KEY
CLOUDINARY_CLOUD
CLOUDINARY_API_SECRET
PORT
FRONT_URL
- Install dependencies
npm install
npm start:dev
npm build
npm start:prod
This project uses the following license.