Skip to content

emilANS/BLazingNetwork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this project:

A social network with features like chatpages, group chatpages, individual chatpages, comments, replies, likes and dislikes systems, it haves the hability to upload your posts with images or videos and you can save posts and comment on them, it haves a community system where posts can be created there so people can search in the search bar for the communities they are in and post and see posts there, you can subscribe to communities and see more posts with the recommendation system, the recommendaation system is a mathematical metric formula called cosine similarity that takes all likes from users and see what users have the most similar interests and recommend these posts from other users to the user, it have a administrator systems in chat and community pages like ban users, make users admins or moderators, remove the rank of admin from communities or chat pages, you can change your profile settings like image, username, password, email, it have a registration and login system, it is connected to a postgresql backend where all posts likes users are stored, it haves a profile page system where you can see posts users have made and replies comments, likes, dislikes etc, all is personalized and adapted to a vast majority of phones, tablets, screens

Images

The register page

1

The login page

2

The Main page of the website

valve

The profile page

profile

Settings of user

opciones

Communities pages, i made it like a reddit type of social network

communityPage with posts

The comments system

post page see

Technologies used for creating this website

React + Vite
Flask
Javascript
Python
Postgresql

How to run the webpage

Requirements

Python 3 <-- this is the version i used during development of this website
NodeJs 22 <-- i used also this version during development
Postgresql

Step 1

Open the main root folder with your terminal and type npm install wait until it finishes

Step 2

Then in your terminal type npm run dev

Step 3

With your terminal go to src/backend/.venv/Scripts and type activate.bat

Step 4

With your terminal go to src/backend/requirements and type in your terminal
pip install -r requirements.txt
wait until it finishes

Step 5

in src/backend go to credentials_sql.py and put your user in postgresql and your password in your postgresql

Step 6

with your terminal with .venv activated go to src/backend and type create_database.py then press enter

Final step

with your terminal with .venv activated in src/backend type: py main.py

visite the link http://localhost:5173/ and see if everything works well try registering and if it throws you an error is because you did something incorrect during the initialization so try it again if it happens.. if you didn't have any error Congratulations! you have initialized the social network BlazingNetwork enjoy it!

How to activate the recommendation system

first of all you have ta least have like 20 active members but you can try it with fewer persons as well but the majority of them must have liked 5 or a little less a post from a community to work well what you have to do is with .venv activated terminal go to src/backend/recommendation_system and type py recommendation_system.py and it should generate a txt file that have the results of the cosine similarity applied to the interests of the users if all worked witouth errors the recommendation system is applied so Congratulations!!, the recommendation system will start to show posts of the like of the user that is seeing the social network

About

A social network made from 0% to 100%

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors