Skip to content

A social network built with Python Flask that allows its users to search or recommend texts in their communities. Final project of the course "CS50's Introduction to Computer Science" by HarvardX.

Notifications You must be signed in to change notification settings

aaronsabellek/Harvard_CS50x_Final_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CS50-Final-Project

Need for Text

Description: Need for Text is a social network designed for its users to search or recommend texts in their communities.

Requirements

The project runs with Python Flask. In the requirements.txt file you find the python packages you need to install. Also you have to configure the the SQLite database and also the application-settings and Flask-Mail-Serversettings in the init.py-file. If everything is set, you just have to run python run.py from the main directory to run the project.

Functionality

First, you need to sign up (/register) for an account and confirm your registration via email. If you already have an account, you can login directly (/login).

The main page displays all the posts of you and the users you follow (/). Also there is a sidebar on each page that shows all the users you follow. In a post users can either search or recommend texts, and in addition to that there are also info posts that let you know who started following you or one of your friends. By clicking on a post you can see more information about the searched or recommended text. If a post is yours, you can update or delete it. If not, you can contact the author of the post via an email form (/contact/<post_id>). The email address will remain unknown to you until the user decides to reply to your message.

Every user has his own public page that displays his profile picture and information (/user/). On your own page you can update your information or profile picture. Apart from that you have four options of what you want to have displayed: 1. All the posts from the user and his friends, 2. only his own posts, 3. every user he follows, or 4. every user he is followed by.

Of course you can create your own posts (/post/new). You just have to choose whether you want to search or recommend a text, and then write the title and some additional information in the boxes.

You also have the possibility to search a certain user (/search) using the search bar. You just need to write his name and click enter. You can then click on his profile and choose to follow or unfollow him.

When you are done with your session you can logout (/logout). If you forget your password the next time you want to login, you can get a confirmation mail to reset your password (/reset_request).

About

A social network built with Python Flask that allows its users to search or recommend texts in their communities. Final project of the course "CS50's Introduction to Computer Science" by HarvardX.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages