Web Programming Assignment

My Social network built with Laravel, PHP and bootstrap.
My Social network built with Laravel, PHP and bootstrap.

The Web Programming assignment was to create a facebook style social network using the PHP framework Laravel and Bootstrap UI library.

Features

The application allowed users to login, and create a profile page.  The profile contained the user details such as Name, Age(calculated from their date of birth) and a profile picture.

Once logged in, a user could create facebook style posts and comment on other posts.  They could also edit and delete their own posts.

Diagram showing page transitions.
Diagram showing page transitions.

Users could friend or unfriend other users on the site, to build their social network.  A friendship allows a user to view posts which their friends have set to be visible only to “friends”.

The database

The site used an SQLite database to enable it to be easily stored in a Git repository.  However, thanks to laravels database abstraction, it could easily be changed to a MySQL database should the site be taken live.

An Entity Relationship Diagram showing the database design for the site.
An Entity Relationship Diagram showing the database design for the site.