# Development notes — Phase 1

These credentials are for local development only. Do not use them in production.

## Application

- Framework: CodeIgniter 4.7.4
- Auth: CodeIgniter Shield 1.4.1
- PHP: 8.1+
- Database: `7dacommunition` on `localhost` (WAMP MySQL port 3306)
- Timezone: `Asia/Karachi`
- Currency: `PKR` via `Config\Shop`

## Local URL

`http://localhost/7daycommuni/public/`

## Development Super Admin

Set in `.env` and seeded by `php spark db:seed DatabaseSeeder`:

- Username: `admin`
- Email: `admin@7daycommuni.local`
- Password: `Shop#Ready!4829`
- Group: `superadmin`

Change `seed.admin.password` in `.env` before any shared or production deployment.

## Useful commands

```bash
php spark migrate --all
php spark db:seed DatabaseSeeder
php spark serve
vendor/bin/phpunit
```

## Phase 1 status

Authentication, authorization groups/permissions, a protected dashboard, migrations, and the admin seeder are in place.

## Phase 3 status

Business schema, models, and development seeders are in place. Temporary auth/dashboard views remain until the provided UI arrives.

Costing method stored in `shop_settings`: `weighted_average`.
