danilocarva9 / email_queue_service

A Lumen email service using queue.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Testing Email Configuration

I am using mailtrap, it is a email sandbox service. Official tutorial can be found here to integrate with Larave/Lumen.

Used technologies

Installation

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

Database migration and seeding

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

Run Job

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

TODO

  • API Route (CRUD)

Contributing

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.

License

Feel free to use.

About

A Lumen email service using queue.


Languages

Language:PHP 97.0%Language:Blade 2.0%Language:Shell 1.0%