This repository contains the source code for my personal portfolio website. It serves as a central hub for my software engineering projects, demonstrating my ability to build responsive frontends and secure, functional PHP backends.
Rather than using a drag-and-drop website builder, I developed this site from scratch utilizing the Cursor AI IDE to accelerate boilerplate generation, allowing me to focus heavily on secure backend routing, dependency management, and UI/UX accessibility.
- Juju Connect: A comprehensive carpooling application built with PHP and MySQL, featuring a 12-table normalized database and 4 distinct user roles.
- Automated Production Calculator: A Python/Selenium web-scraping tool that automates complex daily factory math and production planning.
While the frontend utilizes Bootstrap 5 and custom CSS variables for a modern dark theme, the core engineering focus of this project is the backend infrastructure:
- Secure Contact Form: Engineered a custom PHP contact form with strict server-side validation to sanitize inputs and prevent HTML/SQL injection.
- Dependency Management: Utilized Composer to integrate
PHPMailerfor reliable, authenticated SMTP email delivery. - Credential Security: Implemented an environment variable system (
password.env) parsed by a custommail.phpconfiguration file to ensure sensitive SMTP credentials are never exposed to the client or committed to version control. - Accessibility (a11y): Integrated semantic HTML5 and
prefers-reduced-motionmedia queries to ensure inclusive navigation.
To run this portfolio locally and enable the contact form functionality:
- Clone the repository:
git clone [https://github.com/LeeWeiHao0624/portfolio.git](https://github.com/LeeWeiHao0624/portfolio.git) cd portfolio