Time Series Visual Analytics Project
ShapeTalk is a multimodal visual analytics system for intuitive time-series querying and exploration.
Make sure you have installed all of the following prerequisites on your development machine:
- Node.js (>= 22.15.0) - Download & Install Node.js and the npm package manager.
- reqirements.txt
Download the repository
$ git clone [github repo]Install Prerequisites
$ pip install -r requirements.txt$ npm install$ cd frontend
$ npm installTo avoid version conflicts and dependency issues, we have locked the versions of all packages and their dependencies in package-lock.json. The execution of the npm install command will, by default, install all packages using exactly the same versions specified in the package-lock.json. If encounter errors during npm install use npm install --force
Edit and put OpenAI API Key in
backend\config.py
In config.py replace [Your OpenAI Key] with the actual key
API_KEY = "[Your OpenAI Key]"
You can obtain an OpenAI API Key through the official website here
$ cd backend
$ uvicorn main:app --reload --host 0.0.0.0 --port 8000 --reloadOpen a new terminal
$ cd frontend
$ npm startYour application should run on port 3000 Go to http://localhost:3000 in your browser (Chrome recommended). If encounter errors during this step, go to frontend/package.json and change start to "start": "NODE_OPTIONS=--openssl-legacy-provider react-scripts start" (mac users)