This is a basic API that does Create, Read, Update, Delete actions and uploads csv that uses a queue and sends an alert after the upload is complete
Clone the Repository
$ git clone https://github.com/JuliRash/mpharma-th.git
Navigate to the repository directory.
$ cd mpharma-th
Get the application ready to build
docker run --rm \
-u "$(id -u):$(id -g)" \
-v $(pwd):/var/www/html \
-w /var/www/html \
laravelsail/php81-composer:latest \
composer install --ignore-platform-reqs
Copy The ENV example file
cp .env.example .env
Clear the Cache
php artisan config:cache && php artisan optimize:clear
Use Sail(Docker) To build the application
$ ./vendor/bin/sail up -d
Run Migration and Seed Demo data
$ ./vendor/bin/sail artisan migrate --seed
Run The default queue this is useful to queue the
$ ./vendor/bin/sail artisan queue:work --timeout=0
Documentation: https://documenter.getpostman.com/view/6597817/UVXnFZGE
Postman Collection: https://www.getpostman.com/collections/34d3ce33533e750956e9