Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.53 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.53 KB

ThatsApp

Platform to parse WhatsApp chat histories, generate statistics and provide NLP insights like sentiment analysis or identifying trends or trendsetters, etc.

Back-End

The back-end is written in plain Java 8. The philosophy is that the data is the interface, i.e. the relevant data will be exposed with a RESTful API running on top of the database. MongoDB and RESTHeart are used for the persistence and exposure, respectively.

Prerequisites

  • Java 8 JDK
  • MongoDB

RESTful API

RESTHeart is embedded as a runtime dependency and spawned at startup. (For development only)

Example data

In order to use the example data (e.g. for unit testing) you have to extract the password protected files in the resources directory.

mkdir chatHistories
gpg -d chatHistories.tar.gz.gpg | tar xzvf - -C chatHistories/

In case you need to add example data, compress files as follows:

tar czvpf - file1.txt file2.txt | gpg --symmetric --cipher-algo aes256 -o chatHistories.tar.gz.gpg

NEVER EVER, UNDER ANY CIRCUMSTANCES, PUSH CHAT HISTORIES INTO THE REPOSITORY

Front-End

This section outlines the details of collaborating on the front-end Ember application.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • navigate into the front-end folder of the newly directory
  • npm install
  • bower install