# Print Cards 2

Laravel-based card printing platform for ABHA, PAN, Aadhaar, PVC card, lamination, and courier-ready document orders.

## Included

- Customer registration, login, and OTP verification flow
- Secure PDF, JPG, and PNG uploads with preview
- Admin document approval and rejection workflow
- Order placement with pricing, GST, coupon, and saved addresses
- Demo payment flow for Razorpay or PayU-style checkout
- Courier tracking timeline and admin dispatch updates
- Admin dashboard, users, reports, settings, and homepage content controls
- Seeded coupon, seeded settings, and seeded admin account

## Demo Admin Credentials

- Email: `admin@printcards.test`
- Password: `Admin@12345`

## Default Demo Coupon

- Code: `WELCOME50`

## Local Run

1. Open the project folder.
2. Use the bundled PHP:
   `.\.tools\php85\php.exe artisan migrate:fresh --seed --force`
3. Start the server:
   `.\.tools\php85\php.exe artisan serve`
4. Open `http://127.0.0.1:8000`

## Test Command

`.\.tools\php85\php.exe artisan test`

## Database Schema

- Generated SQLite schema: [database/schema/print_cards_sqlite.sql](/C:/Users/dell/Documents/codex%20projects/Print%20Card%202/database/schema/print_cards_sqlite.sql)
- Seeders create roles, settings, coupon, and admin user automatically.

## Key Paths

- App entry: [routes/web.php](/C:/Users/dell/Documents/codex%20projects/Print%20Card%202/routes/web.php)
- Customer views: [resources/views](/C:/Users/dell/Documents/codex%20projects/Print%20Card%202/resources/views)
- Admin controllers: [app/Http/Controllers/Admin](/C:/Users/dell/Documents/codex%20projects/Print%20Card%202/app/Http/Controllers/Admin)
- Migrations: [database/migrations](/C:/Users/dell/Documents/codex%20projects/Print%20Card%202/database/migrations)

## Production Notes

- The payment layer is implemented in demo-ready form and can be connected to live Razorpay or PayU callbacks.
- Courier tracking uses admin-managed timeline entries and can be extended to Delhivery, India Post, or Shiprocket APIs.
- Homepage testimonials and FAQs are editable from admin settings as JSON fields.

See [INSTALL_CPANEL.md](/C:/Users/dell/Documents/codex%20projects/Print%20Card%202/INSTALL_CPANEL.md) for deployment steps.
