Notification module made as a recruitment task
Follow these simple steps
dev:$ git clone git@github.com:RyuuKodex/transfer-go-task.git- Run
docker-compose build --pull --no-cacheto 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 -ddev:$ docker-compose exec -it app bashdev:$ docker-compose down --remove-orphansdev:$ APP_ENV=test php bin/phpunitdev:$ vendor/bin/php-cs-fixer fix