PHP 8.1
- Clone the repo locally
- Edit
.env
with your DB credentials,APP_KEY
andAPP_URL
- Run
composer install
in order to get dependencies - Run
php composer:migrate
to create DB schema - Run
php artisan db:seed --class=DatabaseSeeder
in order to create some test customers. - Run
php artisan serve
to start the app.
Run the following commands for tests:
- Run
php artisan test
You can see a demo of the app here: https://clever-together-laravel.drpanchev.com/
You can store additional data for a given customer.
The meta-fields are defined in app/Http/Enums/CustomerMetaDataCodeEnum.php
- Write
negative
tests - Write
edge-case
tests - Add proper error handling and DB transaction commit / reversal.
- Proper
Role
management. Now we're just seeding it to DB. - Advanced
CustomerMeta
management.
app/Http/Actions
app/Http/Enums
app/Http/Requests
app/Http/DataTransferObjects
app/Http/DataFactories
app/Http/Controllers
app/Http/Models
database/Migrations
database/seeders
database/factories
resources/views
public/js
tests