This project visualizes hierarchical data, demonstrating parent-child relationships between nodes. It consists of a Vue.js 2 frontend and a Node.js backend. The data is stored and retrieved from a Neo4j Aura cloud instance.
- Hierarchical Visualization: Clear graphical representation of parent-child relationships.
- Interactive Nodes: Clickable nodes with detailed descriptions displayed in a popup.
- Data Fetching: Real-time data retrieval from a Neo4j database via a RESTful API.
- Frontend:
- Vue.js 2
- D3.js library(for visualization)
- Backend:
- Node.js
- Express.js
- Neo4j (graph database)
- Deployment:
- Netlify (frontend hosting)
- Azure App Service (backend hosting)
- Neo4j Aura (cloud database)
- Node.js (LTS version recommended)
- npm (or yarn, pnpm)
- Vue CLI (if using Vue CLI commands)
- Docker (if using Docker for local development)
-
Clone the repository:
git clone https://github.com/Dhilip0718/graph-data.git cd graph-data -
Install dependencies for node: cd graph-data/packages/server
npm install
-
Install dependencies: cd graph-data
npm install
-
Start the development server:
npm run server npm run serve The application will be available at `http://localhost:8080/` (or the port specified by Vue CLI). The application will start the server at `http://localhost:3000/api/data`
-
Build for production:
npm run build # or yarn build # or pnpm build
The production build will be located in the
distdirectory.
- Frontend: Hosted on Netlify.
- Backend: Hosted on Azure App Service.
- Database: Neo4j Aura cloud instance.
/api/data: Retrieves hierarchical data from the Neo4j database.
Here's a visual representation of the project Landscape:
Dhilip Rk
