An open API service indexing awesome lists of open source software.

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

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.