Skip to content

Latest commit

 

History

History
90 lines (64 loc) · 2.06 KB

Readme.md

File metadata and controls

90 lines (64 loc) · 2.06 KB

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!