Skip to content

Files

Latest commit

 

History

History
19 lines (13 loc) · 788 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 788 Bytes

Deduplicate Messages

Simple message deduping with built in sorting and ability to delete

Run in development mode using yarn start which will be made available at http://localhost:3000

Functionality

  • Messages are displayed in a list.
  • Messages displays content, senderUuid and sentAt.
  • Messages are only displayed once. They should be deduplicated if uuid and content already exist.
  • Display human-readable time format of sentAt timestamp, such as "DayOfTheWeek Month Day, Year at Time".
  • Support sorting by sentAt in ascending/descending order.
  • Allow a message to be deleted.

Techinical & Design Choices

  • Used create-react-app to get up and running.
  • Used date-fns to make sorting by date easier