Logo Lanfrica

oluwatosindot/greencash

Domain:

socioeconomic

Record type:

software
Creator:
olu
Host:
Green Cash β€” South African salary advance loan platform # GreenCash **Salary advance loans for salaried South Africans.** Apply online, 100% digital, available 24 hours. 🌐 **Production:** greencash.co.za --- ## Stack | Layer | Tech | |---|---| | Server | PHP 8.2 (procedural), Apache, mod_rewrite | | Database | MySQL 8 (PDO with prepared statements) | | Customer-facing UI | Vanilla HTML + CSS + JS | | Admin / Broker portals | Bootstrap 5 | | Mail | PHPMailer / native `mail()` | | Hosting | Afrihost shared cPanel | No build step, no Node toolchain β€” the customer-facing site is plain files served by Apache. --- ## Local development You need PHP 8.2+, MySQL, and Apache. The easiest path is XAMPP for Windows/Mac. 1. Clone into your Apache `htdocs/` (or document root): ```bash git clone github.com cd greencash ``` 2. Create your local environment file: ```bash cp includes/env.example.php includes/env.php ``` Edit `includes/env.php` with your local DB credentials and `APP_URL`. 3. Import the schema: ```bash mysql -u root greencash < database/greencash.sql ``` (Create the DB first: `CREATE DATABASE greencash CHARACTER SET utf8mb4;`) 4. Visit `localhost` in a browser. --- ## Project layout ``` greencash/ β”œβ”€β”€ index.php Landing page (hero, calculator-replacement, products, employers, apply, FAQ) β”œβ”€β”€ apply.php Multi-step loan application POST handler β”œβ”€β”€ login.php, verify-otp.php Admin/broker authentication β”œβ”€β”€ track-application.php Self-service application status lookup β”œβ”€β”€ contact.php Public contact form + complaints procedure β”œβ”€β”€ partnership-enquiry.php Employers band modal POST handler β”œβ”€β”€ application-submitted.php Post-submission confirmation β”œβ”€β”€ privacy-policy.php β”œβ”€β”€ terms-and-conditions.php β”œβ”€β”€ 404.php, 500.php β”œβ”€β”€ admin/ Admin panel (Bootstrap 5) β”œβ”€β”€ assets/ css/, js/, img/ (logos, favicons, OG card) β”œβ”€β”€ includes/ Shared header/footer …