https://github.com/jayexdesigns/deepath
A simple social network to experiment with network graphs
https://github.com/jayexdesigns/deepath
d3 javascript network social-network
Last synced: about 2 months ago
JSON representation
A simple social network to experiment with network graphs
- Host: GitHub
- URL: https://github.com/jayexdesigns/deepath
- Owner: JayexDesigns
- Created: 2021-12-12T01:36:46.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-02T02:15:19.000Z (over 4 years ago)
- Last Synced: 2026-01-12T23:07:28.551Z (5 months ago)
- Topics: d3, javascript, network, social-network
- Language: JavaScript
- Homepage:
- Size: 134 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

Deepath
This is a simple social network to visualize the user connections with D3js
Backend
The backend is made in nodejs with electron and a WebSockets library, it creates a simple JSON database to store the users and users' connections, the chat is not persistent against reboots of the server. The HTTP server has two endpoints, the main endpoint is for the actual social media, the user's login, chat and friends list, the network endpoint is for seeing the graph created by the users and its real time update.
Frontend
The main application is entirely done with vanilla JavaScript, I thought of using React with Material UI but I didn't have the time to handle that. The network endpoint is created using D3.js and the force layout, a WebSocket connection updates the graph so it's reconstructed every time something changes.