A microservice that allows its users to see m last messages from a conversation thread of their choice
To run, you should have Node.js and NPM installed
Then clone this repo
Install the dependencies and start the server.
cd domi-test
npm i & npm start
curl -X GET "http://localhost:3000?conversation=1&limit=50"
Query string | Value |
---|---|
conversation | The conversation of choice - i.e either from list1 or list2 |
limit | The number of messages to be retrieved i.e last m messages |
npm test
MIT