/chat-stats

File processing and upload (Node.js + AngularJS) https://stats-chat.herokuapp.com

Primary LanguageTypeScript

https://stats-chat.herokuapp.com/

Deploy

This AngularJS app is a simple file upload tool that sends a JSON Lines file to a Node.js server for data processing and then builds a chart with the output ngx-charts library.

The file represents a lengthy chat conversation that was processed by another system.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Running unit tests

Run npm test to execute the server's unit tests.

Build & Run

Run ng build && npm start to build and run the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

How to use

Upload

You can find a data_example.json file on the root folder. It contains the shape of the data that must be uploaded. Upload a file like that on the following page:

Chart

The file will be sent to the server and processed. Wait a couple seconds while page loads, the following chart will show up. You can place the cursor on the chart and scroll left to show more information.