You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Devang J 5c72682d78
Added site link to README.md
2 years ago
__pycache__ error handling 3 years ago
static favicon 2 years ago
templates favicon 2 years ago
.gitignore jquery images comments 2 years ago
Procfile Procfile 3 years ago
README.md Added site link to README.md 2 years ago
app.py made commenting better 2 years ago
app.pyc works 3 years ago
db.py indentation 2 years ago
forms.py jquery images comments 2 years ago
forms.pyc woo 3 years ago
new.dump new dump 2 years ago
requirements.txt updates requirements.txt 2 years ago
runtime.txt runtime 3 years ago

README.md

The Social Network

A Web Programming and DB project based on Flask, jinja2, Mysql/Postgresql, jQuery, HTML, and CSS + Bootstrap.

Functionalities currently implemented are:

  • Register and Login to an account
  • Post text-posts, or image-links to load images
  • Like posts made by other users
  • Follow an user to see their posts on a custom wall
  • Comment on posts made by anyone
  • Be able to delete/edit your posts/profile on the go

Tech

The Social Network uses a number of Frameworks and Languages to work properly:

  • Flask - Python Miniframework to make and deploy web apps
  • WTForms - Python Module for an Object Oriented implementation of Forms
  • Visual Studio - An awesome text editor by Microsoft
  • Bootstrap - Template for pretty css
  • Jinja2 - HTML templating engine
  • FontAwesome - Amazing fonts by Google
  • jQuery - Javascript framework to automate client side scripting
  • psycopg2 - Python Module to work with PostgreSQL

Installation

Our website is live here.

The Social Network requires Python 3.7.2 to run locally.

If you wish to run the app locally you can clone from the repository

$ git clone https://github.com/DevangJ/theSocialNetwork

Create the postgreSQL database from the given dump

$ cd theSocialNetwork
$ psql thesocialnetwork < new.dump

Set up the virtual environment, install the dependencies and start the server.

$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ python app.py

Your instance of the app will be running on

0.0.0.0:8000/