| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Visualization Enabled Search Application Demo version is available here
Repository for the Visualisation Enabled Search Application (VESA). It is a visual exploration and search tool that assists users in navigating through a graph in an intuitive way. Different visualizations help in finding information across different dimensions. For example:
These dimensions provide various contexts, such as dataset locations (Map), measurement data (Temporal Charts), and word clouds to show different thematic contexts of datasets.
This section provides a detailed guide on how to set up the VESA project for local development, including setting up ArangoDB, restoring the database dump, and configuring and running the backend and frontend components.
Before starting, ensure you have the following software installed on your machine:
VESA uses ArangoDB as its database. Follow these steps to set up ArangoDB:
Download and Install ArangoDB:
Start the ArangoDB Server:
Access the ArangoDB Web Interface:
Restoring the Database Dump:
In the VESA repository, there is a directory named DB containing the file arango-dump.zip.
Unzip the arango-dump.zip file:
unzip DB/arango-dump.zip -d DB/arango-dump/Use the ArangoDB arangorestore command to restore the database:
arangorestore --server.endpoint http+tcp://127.0.0.1:8529 --server.database <database-name> --server.username root --server.password root --input-directory DB/arango-dump/Replace <database-name> with the name you want for your database.
The backend is built using Node.js and connects to the ArangoDB database.
Navigate to the Backend Directory:
cd BACKENDInstall Dependencies:
npm installCreate the .env File:
The backend requires environment variables to be configured. You can use the .env.template file as a starting point.
Copy the .env.template file to create a .env file:
cp .env.template .envOpen the .env file in a text editor and set the values for ARANGO_URL, ARANGO_USER, and ARANGO_PASS:
ARANGO_URL=http://127.0.0.1:8529/
ARANGO_USER=root
ARANGO_PASS=rootRun the Backend:
npm run devThis command will start the backend server in development mode. The server will automatically reload if you make any changes to the source files.
The frontend is built using React.js and communicates with the backend to fetch data and display it through various visualizations.
Navigate to the Frontend Directory:
cd ../FRONTENDInstall Dependencies:
npm installCreate the .env File:
The frontend also requires some environment variables, particularly the API URL.
Copy the .env.template file to create a .env file:
cp .env.template .envOpen the .env file in a text editor and set the value for REACT_APP_API_URL:
REACT_APP_API_URL=http://127.0.0.1:3001Ensure this URL points to where your backend is running.
Run the Frontend:
npm startThis command will start the frontend development server. It will be accessible in your web browser at http://localhost:3000/ by default.
Now that both the backend and frontend are running, you can interact with the VESA application by navigating to http://localhost:3000/ in your web browser.
Ensure that both components are communicating correctly by verifying that the frontend is successfully retrieving and displaying data from the backend.
If you encounter any issues during setup:
| Back | FazBrowse Home | New Git URL |