A visual analytics tool for promoting serendipitous discovery of academic literature using Transformers.
| Requirement | Minimum Version | Tested/Recommended |
|---|---|---|
| Node.js | v14.8.0+ | v25.1.0 |
| npm | 6.14.7+ | 11.6.2 |
| yarn | 1.22+ | 1.22+ (recommended) |
Note: The project works with both legacy (v14.8.0) and modern Node.js versions (v25+).
Required: The rest-api backend must be running for full functionality.
# Clone the repository
git clone https://github.com/vitality-vis/frontend.git
cd frontend
# Install dependencies
yarn install
# or
npm install# Make sure the backend API is running first (see rest-api repo)
# Start the development server
yarn start-dev
# Open in your browser
# http://localhost:8080/vitality2/That's it! The app will automatically reload when you make changes.
The frontend expects the backend API to be running on http://localhost:3000.
Make sure to start the rest-api backend before running the frontend.
To compile TypeScript to JavaScript and create a production-ready bundle:
# Build for production
yarn buildBuild output:
dist/
├── index.html
├── js/
│ └── bundle.[hash].min.js # Compiled & minified JavaScript
└── img/ # Static assets
The dist/ folder is ready to be served at /vitality2/ on any static web server (nginx, Apache, etc.).
frontend/
├── src/
│ ├── components/ # Core UI components (App, SmartTable, PaperScatter, etc.)
│ ├── socket/ # WebSocket connection
│ ├── utils/ # Utility functions & configs
│ ├── hooks/ # React hooks
│ ├── styles/ # SCSS stylesheets
│ ├── assets/ # Static assets (images, icons)
│ ├── config.ts # API configuration
│ └── index.tsx # Application entry point
├── configs/webpack/ # Webpack configurations
├── tests/ # Test files
└── package.json
yarn testvitaLITy was created by Arpit Narechania, Alireza Karduni, Ryan Wesslen, and Emily Wall.
@article{narechania2021vitality,
title={vitaLITy: Promoting Serendipitous Discovery of Academic Literature with Transformers \& Visual Analytics},
author={Narechania, Arpit and Karduni, Alireza and Wesslen, Ryan and Wall, Emily},
journal={IEEE Transactions on Visualization and Computer Graphics},
year={2021},
doi={10.1109/TVCG.2021.3114820},
publisher={IEEE}
}The software is available under the MIT License.
If you have any questions, feel free to open an issue or contact Arpit Narechania.