23 lines
926 B
Markdown
23 lines
926 B
Markdown
# Agency Lead Generation Website
|
|
|
|
This project is a simple lead generation website for a medical agency. It includes a public-facing landing page with a contact form to capture leads.
|
|
|
|
## Project Structure
|
|
|
|
- `index.php`: The main landing page.
|
|
- `contact_handler.php`: Handles the contact form submission.
|
|
- `lib.php`: Contains helper functions.
|
|
- `assets/`: Contains CSS and JavaScript files.
|
|
- `css/custom.css`: Custom stylesheets.
|
|
- `js/main.js`: Custom JavaScript.
|
|
- `db/`: Contains database-related files.
|
|
- `config.php`: Database configuration and connection.
|
|
- `migrations/`: Contains database migration files.
|
|
- `.env`: Contains environment variables, including database credentials.
|
|
|
|
## Setup
|
|
|
|
1. Create a `.env` file and add your database credentials.
|
|
2. Run the migration scripts in `db/migrations/` to create the necessary tables.
|
|
3. (Optional) Run `db/seed.php` to seed the database with sample data.
|