Notification module made as a recruitment task
Follow these simple steps
dev:$ git clone [email protected]:RyuuKodex/transfer-go-task.git
- Run
docker-compose build --pull --no-cache
to build fresh images - Run
docker-compose up
(the logs will be displayed in the current shell) - In .env or .env.local file add your Twilio and Amazon SES credentials
POST /api/notification
{
"sender": "61407079-0246-47ae-8077-29039e5d798e",
"receiver": "494572c8-d727-4753-b39f-da2fe935cd68",
"title": "title",
"message": "message"
}
dev:$ docker-compose up -d
dev:$ docker-compose exec -it app bash
dev:$ docker-compose down --remove-orphans
dev:$ APP_ENV=test php bin/phpunit
dev:$ vendor/bin/php-cs-fixer fix