Skip to content

The project has as main objective the processing queue work with Redis and Horizon. It has a structure of modules for micro-services.

Notifications You must be signed in to change notification settings

edvaldotorres/api-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to api-events 👋

Version Version Documentation License: MIT

The project has as main objective the processing queue work with Redis and Horizon. It has a structure of modules for micro-services.

Prerequisites

  • Docker
  • Composer

Install

  1. Clone your repository, example:
git clone https://github.com/edvaldotorres/api-events
  1. Head over to the project directory.
cd api-events
  1. Run the servers
docker-compose up --build -d

NOTE: This may take a while if this is the first time installing this as a container.

  1. Set the proper permissions to the project files .
cd app
chmod -R 777 storage/
  1. Install the dependencies
composer install
  1. Build the migrate.
docker exec -it app php artisan migrate
  1. Start horizon.
docker exec -it app php artisan horizon
  1. Start cron.
docker exec -it app php artisan event:email  

NOTE: Configure mailtrap in env file.

Usage

  1. You can now open your application with API platform: https://localhost/api/

Author

👤 Edvaldo Torres de Souza

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

About

The project has as main objective the processing queue work with Redis and Horizon. It has a structure of modules for micro-services.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published