35 lines
1.8 KiB
Markdown
35 lines
1.8 KiB
Markdown
# SecureLife Insurance Application
|
|
|
|
This is a comprehensive insurance application system built with PHP. It features a public-facing landing page, a multi-step insurance application form, and a secure, feature-rich admin dashboard.
|
|
|
|
## Features
|
|
|
|
* **Modern Homepage:** A visually appealing and responsive homepage.
|
|
* **Multi-Step Subscription Form:** A user-friendly, multi-step form for insurance applications.
|
|
* **Dynamic Form Fields:** The form dynamically shows fields based on the selected insurance type.
|
|
* **Admin Dashboard:** A secure admin dashboard to manage and view applications.
|
|
* **Application Management:** Admins can view, search, filter, and update the status of applications.
|
|
* **Email Notifications:** Automatic email notifications to users and admins upon application submission and status changes.
|
|
* **Analytics Chart:** A chart on the admin dashboard to visualize application trends.
|
|
* **Details View:** A detailed view for each application.
|
|
|
|
## Setup and Installation
|
|
|
|
1. **Database:**
|
|
* The database configuration is in `db/config.php`. Update the credentials if needed.
|
|
* To create the necessary tables, run the migration script: `php db/migrate.php`.
|
|
|
|
2. **Email:**
|
|
* The email configuration is in `mail/config.php`. You can configure your SMTP settings there.
|
|
|
|
## Configuration
|
|
|
|
* **Database:** `db/config.php`
|
|
* **Email:** `mail/config.php`
|
|
* **Admin Credentials:** The admin username and password are currently hardcoded in `admin.php`. It is recommended to move these to a more secure configuration file.
|
|
|
|
## Customization
|
|
|
|
* **Car Data:** The list of car manufacturers and models can be found and modified in `subscribe-step2.php`.
|
|
* **Styling:** The application's styling can be customized in `assets/css/custom.css`.
|