Coding challenge as part of my application for a position as Senior PHP Developer (Laravel)
- Sanctum
- Stripo
- Mailtrap
- Docker
- Postman
- Scribe
- Redis
- Horizon
Ensure you have the following installed on your machine:
git clone https://github.com/michaelisip/shakewell-coding-challenge.git
cd shakewell-coding-challenge
cp .env.example .env
sail up -d
sail artisan test
http://localhost/docs
You can run the queue and scheduled jobs with the following command:
sail artisan queue:work
sail artisan schedule:work
Then monitor the queued jobs using Laravel Horizon
http://localhost/horizon
You can import the Postman collection generated on public/docs folder on API clients like Postman or Insomia
- add statistics; usage count, etc..