Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/musadiqpasha/social-network-manager

A Simple Social Network Management System implemented in C. The system allows users to manage friends, track friend scores, and perform various operations on the social network.
https://github.com/musadiqpasha/social-network-manager

c graph graph-visualization graphviz management-system social-network txt-based

Last synced: about 1 month ago
JSON representation

A Simple Social Network Management System implemented in C. The system allows users to manage friends, track friend scores, and perform various operations on the social network.

Awesome Lists containing this project

README

        

# Social Network Management System in C

This project is a Social Network Management System implemented in C, offering a comprehensive set of features for managing user relationships within a social network. The system provides a command-line interface for users to interact with various functionalities, including user authentication, friend management, and graph visualization.

## Graph Visualization

![](https://github.com/MusadiqPasha/Social-Network-Manager/assets/64960566/0a893af8-1aca-4250-bdab-234a28f8973c)

# Features

## User Authentication and Authorization:

- Friendship Management:
- Add and remove friends from a user's network.
View the list of current friends for a specific user.
Check if two users are friends and display mutual connections.
- Graph Visualization:
Generate a graphviz-compatible .DOT file for visualizing the social network graph.
Display the social network graph using external tools like Graphviz.
Friend Score Calculation:
- Calculate a friend score for each user based on their friend relationships.
- Securely manage user accounts with unique user IDs, usernames, and passwords.
Differentiate between regular users and administrators for enhanced security.

## Admin Functionalities:

- Admins can perform actions such as displaying the adjacency matrix, opening data files, and finding user IDs.
- File Handling:
Read and write user data to `.txt file` , facilitating persistence across program runs.
Handle file operations for adding, removing, and updating user and friendship data.
- Utilize `BFS Algorithm` to find paths and mutual friends between two users.
- Interactive Command Line Menu

### Steps to Follow
- Download or clone my Repository to your device
- Make sure you have `GraphViz` installed [graphviz](https://graphviz.org/download/) and are able to run it from the terminal.
- Run `Social_Networking.c` file
- Admin Login Passowrd is admin `admin`

### Screenshots

## Home

![](https://github.com/MusadiqPasha/Social-Network-Manager/assets/64960566/dc8378bb-9699-41b2-91ac-f6e03e07a948)

## Admin-Login

![](https://github.com/MusadiqPasha/Social-Network-Manager/assets/64960566/4701c42e-9d25-4c06-94f9-01fc7a5dcd3d)

## User-Login

![](https://github.com/MusadiqPasha/Social-Network-Manager/assets/64960566/ccf3bb09-5a18-4f50-9eb4-9b4c2aa8701f)

## Just follow me and Star ⭐ my repository
## Thank You!!