- Create project laravel
- Drawing the database
- Create migration
- Create routes
- Create job function to import people json
- Create function createUser
- Create function verifyUserExist
- Create function verifyAgeUser
- Create Read.me
- Added repository pattern
- Added DTO pattern
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=userImport
DB_USERNAME=
DB_PASSWORD=
QUEUE_DRIVER=database
QUEUE_CONNECTION=database
composer install
php artisan key:generate
php artisan migrate
php artisan serve
php artisan queue:work
php artisan queue:work --timeout=6000
That endpoint is responsable to running the job and starting the import file /public/filesImport/challenge.json
Example of response:
{
"msg": "created order to import file"
}