https://github.com/harunabdullahrakin/social-media-app-php
uh this is written in php.
https://github.com/harunabdullahrakin/social-media-app-php
amarworld media php social socialapp website
Last synced: about 1 year ago
JSON representation
uh this is written in php.
- Host: GitHub
- URL: https://github.com/harunabdullahrakin/social-media-app-php
- Owner: harunabdullahrakin
- Created: 2024-11-03T16:29:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-04T11:42:27.000Z (about 1 year ago)
- Last Synced: 2025-07-04T12:44:48.488Z (about 1 year ago)
- Topics: amarworld, media, php, social, socialapp, website
- Language: PHP
- Homepage: https://amarworld.me
- Size: 80.5 MB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AMARWORLD — Social Platform in Pure PHP
[](https://amarworld.me)
[](https://php.net)
[](#)
[](#)
---
## ✨ Overview
**AmarWorld** is a full-featured, futuristic social media platform built with pure PHP and MySQL — no frameworks.
Think **Instagram + Facebook** in a clean, modern UI with complete backend logic and real-time features.
🌐 Live Demo: [https://amarworld.me](https://amarworld.me)
---
## 🧩 Features
- 📱 **Story Bar** – Like Instagram
- 📝 **Posts Feed** – Likes, comments, media
- 🎬 **Shorts Uploads** – Video-based content at `/shorts`
- 💬 **Real-Time Chat** – AJAX-based messaging
- 👤 **User Profiles** – Change bio, avatar, email, password
- 🔐 **Authentication** – Login, register, forgot password (SMTP support)
- 📶 **Responsive UI** – Mobile and desktop optimized
- ☁️ **Deploy Ready** – Works great on AlwaysData, cPanel, NGINX servers
---
## 🖼️ Interface Samples
> Replace these placeholders with real screenshots from your project.
| Home Feed + Stories | Realtime Chat |
|---------------------|---------------|
|  |  |
| Shorts Section | Profile Editor |
|----------------|----------------|
|  |  |
---
## ⚙️ Tech Stack
| Layer | Tech |
|-----------|--------------|
| Backend | PHP (native) |
| Database | MySQL |
| Frontend | HTML, CSS, JS|
| Realtime | AJAX |
| Mailing | SMTP (PHPMailer) |
| Hosting | NGINX / cPanel / AlwaysData |
---
## 📦 Installation & Setup
### 1. Clone Repository
```bash
git clone https://github.com/harunabdullahrakin/Social-Media-App-Php.git
```
---
### 2. Configure Environment
- Make sure your server has **PHP 7.4+** and **MySQL**.
- Enable required extensions: `mysqli`, `mbstring`, `openssl`, `fileinfo`, etc.
- Edit `/config/db.php` and `/config/smtp.php` with your credentials.
---
### 3. Import MySQL Database
> File location: `config/mysql.sql`
**Using phpMyAdmin:**
1. Login to phpMyAdmin
2. Create a database
3. Import `mysql.sql`
---
### 4. Run Locally
```bash
php -S localhost:8000
```
Visit: [http://localhost:8000](http://localhost:8000)
---
## ☁️ Deploying to Production
### ✅ Recommended Host: [AlwaysData](https://alwaysdata.com)
- Upload project via SFTP
- Set project root to `index.php`
- Use MySQL + SMTP config from panel
### NGINX Example Config:
```nginx
server {
listen 80;
server_name yourdomain.com;
root /var/www/amarworld;
index index.php;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
}
}
```
---
---
## 🧑💻 Author
**Harun Abdullah**
🌐 [harunabdullah.is-a.dev](https://harunabdullah.is-a.dev)
---
## 📄 License
This project is open-source for educational and development use.
Please give credit if you use it publicly.
> Built with passion — no frameworks, just raw PHP.