Solar ecosystem platform for manufacturers, sellers, and end users in Nigeria
````markdown
# ☀️ REAN Solar Connect
**🌐 Live Site:**
reansolar.com
REAN Solar Connect is a web-based solution designed to bridge the solar energy supply gap in Nigeria. It connects manufacturers, distributors, recyclers, and end users — helping people and businesses locate verified solar partners near them with ease.
---
## 🚀 Features
- 🌍 **Location-Based Matching** — Find solar manufacturers, distributors, and recyclers in your area.
- 📝 **Waitlist Form** — Collects signups and stores them in a secure database.
- 📬 **Email Notifications** — Sends confirmation emails to subscribers and alerts the admin.
- 📱 **Mobile-First Design** — Fully responsive and touch-friendly.
- 🎨 **Modern UI** — Built using Tailwind CSS and Font Awesome with custom animations.
- 🔐 **Duplicate Protection** — Prevents repeat signups using email uniqueness checks.
---
## 🛠️ Tech Stack
| Layer | Tools & Tech |
|--------------|------------------------------------------|
| Frontend | HTML5, Tailwind CSS, Font Awesome |
| Backend | PHP (Vanilla) |
| Database | MySQL |
| Email | PHPMailer with SMTP (Hostinger) |
| Deployment | Hostinger + GitHub |
---
## 📸 Screenshots
---
## ⚙️ Setup Instructions
### 1. Clone the Repository
```bash
git clone
github.com
cd rean-solar
````
### 2. Set Up the Database
* Create a new MySQL database.
* Import the `users` table using the SQL command:
```sql
CREATE TABLE users (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(100) NOT NULL,
email VARCHAR(100) NOT NULL UNIQUE,
phone VARCHAR(20),
interest_area VARCHAR(50),
location VARCHAR(100),
agree TINYINT(1) DEFAULT 0,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
```
### 3. Configure Email Sending
* Upload the full `phpmailer/` folder (from PHPMailer source).
* Update `send_email.php` with yo …