Skip to content

nlacko97/laravel-queue-subscription

Repository files navigation

Laravel Demo application

Description

RESTful API

  • users can subscribe to websites
  • posts can be published on a particular website
    • all subscribed users receive an email with the post details(title, description)

Running instructions

  • Clone the repository
  • Run composer install
  • Run php artisan migrate --seed to seed the database
  • Configure .env with database access, mail credentials and queue driver (QUEUE_CONNECTION=database)
  • Run php artisan queue:work to listen to events and php artisan serve to run the webserver
  • Run the Postman example endpoints : Postman JSON link
  • Run the php artisan post:notify command with either a post ID as argument or --latest flag to notify users for the latest post

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages