This repository contains the source code and related files for a social media website project built using PHP. The project aims to create a platform where users can connect, share, and interact with each other in a social networking environment.
- User Registration and Authentication: Users can create an account, log in, and manage their profile.
- News Feed: Users can view a personalized news feed displaying posts from their friends and followed users.
- Post Creation and Sharing: Users can create and share posts with text, images, and videos.
- Friendship System: Users can send and accept friend requests, view their friends' list, and interact with friends' posts.
- User Profiles: Users have personalized profiles where they can update their information, profile picture, and view their own posts.
- Notifications: Users receive notifications for friend requests, post likes, comments, and mentions.
- Search Functionality: Users can search for other users, posts, and hashtags.
- Privacy Settings: Users can control the visibility of their posts and profile information.
The social media website project is built using the following technologies:
- PHP: The backend of the website is written in PHP, which handles the server-side logic and database interactions.
- MySQL: The project uses a MySQL database to store user information, posts, friendships, and other data.
- HTML/CSS: The frontend of the website is built using HTML and CSS for layout, styling, and user interface elements.
- JavaScript: JavaScript is used for client-side validation, dynamic content updates, and AJAX interactions.
- Bootstrap: The project utilizes the Bootstrap framework for responsive design and pre-built UI components.
- AJAX: AJAX is used to update the website in real time without loading the whole page.
To run the social media website locally, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/social-media-website.git
- Navigate to the project directory:
cd social-media-website
- Import the SQL file into your MySQL database.
- Configure the database connection settings in the
config.php
file. - Start a local PHP development server.
- Open your web browser and visit the localhost to access the website.
If you have any questions, suggestions, or feedback, please don't hesitate to reach out. Happy networking!