This Laravel 11 application is designed to :
- sync pay items from an external API
- store them in MongoDB
The job dispatch system :
- fetches pay items
- handles responses
- processes data using MongoDB collections
- PHP v8.2.23
- Laravel v11
- MongoDB
- Windows 10
- PHP + Laravel
- MongoDB
- PHPUnit
- Clone the repository
git clone git@github.com:dwaynewe/clair.git cd clair
- Install dependencies
composer install
- MongoDB setup Follow this Guide to set up MongoDB in Laravel.
- Run migrations
php artisan migrate
- Run
This will host the project on http://localhost:8000
php artisan serve
- Dispatch the sync job
php artisan dispatch:sync
- Run unit test
php artisan test