Handles messaging between 2 users in a collaborative session.
Run cd communication-services from the root of the project.
Run npm install to install dependencies
Ensure that environment variables are set.
- After installing dependencies, run
npm run devto start the application. - The service should be started on http://localhost:8005.
Run npm run test to execute tests. Tests depend on the deployment URL in the environment variables.
GET request to /api/communication/message/:sessionId
POST request to /api/communication/message
Example request body:
{
"sessionId": String,
"senderName": String,
"senderId": String,
}