Back to Projects
Social Platform

Your Social Hub

A fully featured social networking platform. Built from scratch with PHP, MySQL and vanilla JavaScript.

The Common Room - Social Platform

About the Project

This project was a simple social networking platform built as a full-stack demonstration project. It provides all the core features you'd expect from a modern social app: a user feed, post creation with image uploads, a following/follower system, profile pages, likes, and nested comments.

The project was built with a strong focus on security, including CSRF token validation on all forms, prepared statements throughout, session-based authentication, and role-based access control for admin users.

Key Features

  • User registration, login, and secure session management
  • Create text posts with optional image uploads (JPG/JPEG)
  • Personalised feed: see posts from followed users only
  • Follow and unfollow other users
  • Like posts with live like counts (AJAX, no page reload)
  • Comment on posts with live comment threads
  • User profiles with bio, location, contact info, and privacy controls
  • Custom profile image uploads
  • Suggested connections panel
  • Admin dashboard with elevated user management capabilities
  • CSRF token protection on all state-changing forms
  • Fully responsive: mobile, tablet, and desktop

Tech Stack

PHP Back-end logic, routing, sessions
MySQL Relational database, prepared statements
JavaScript AJAX interactions, dynamic UI updates
Bootstrap 5 Responsive grid and form validation
Custom CSS Bespoke design system and theming
Google Fonts Typography (DM Sans, Inter, Poppins)

Want something like this built for your business?

Start a Conversation