I am using mailtrap, it is a email sandbox service. Official tutorial can be found here to integrate with Larave/Lumen.
Used technologies
Use the package manager git to install the repo.
git clone https://github.com/jaygaha/notification-microservice.git
cd notification-microservice
docker compose up -d --build
docker compose exec mail-web sh
/var/www/html# php artisan migrate:fresh --seed
If you don't want to use faker data then please omit --seed
Manualy run the schedule
php artisan schedule:run
Create a cron job in the server which run every minute.
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
- API Route (CRUD)
All code submissions will only be evaluated and accepted as pull-requests. If you have any questions or find any bugs please feel free to open an issue.
Feel free to use.