Skip to content

This service is responsible for handling actions with messages.

License

Notifications You must be signed in to change notification settings

S-Smovzh/messsages-microservice

Repository files navigation

Messages service (NestJS)

This service is responsible for handling actions with messages.


Responsibilities

  • 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

Installing App

  1. Clone this repository git clone https://github.com/S-Sergio-A/messages-microservice.git
  2. 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
  1. Install dependencies
npm install

Running the server in development mode

npm start:dev

Running the server in production mode

npm build

npm start:prod

License


This project uses the following license.

About

This service is responsible for handling actions with messages.

Topics

Resources

License

Stars

Watchers

Forks