news-subscription-api
所属分类:其他
开发工具:PHP
文件大小:0KB
下载次数:0
上传日期:2022-03-22 08:11:38
上 传 者:
sh-1993
说明: laravel 8中的新闻订阅API,使用队列、邮件、事件侦听器、,
(News subscription API in laravel 8 using queues, mailables, events listeners,)
文件列表:
.editorconfig (220, 2022-03-22)
.env.example (1069, 2022-03-22)
.idea/ (0, 2022-03-22)
.idea/commandlinetools/ (0, 2022-03-22)
.idea/commandlinetools/Laravel_3_21_22__6_24_PM.xml (251559, 2022-03-22)
.idea/commandlinetools/schemas/ (0, 2022-03-22)
.idea/commandlinetools/schemas/frameworkDescriptionVersion1.1.4.xsd (2214, 2022-03-22)
.idea/dataSources.xml (523, 2022-03-22)
.idea/modules.xml (294, 2022-03-22)
.idea/news-subscription-api.iml (9348, 2022-03-22)
.idea/php.xml (7694, 2022-03-22)
.idea/phpunit.xml (235, 2022-03-22)
.idea/vcs.xml (180, 2022-03-22)
.styleci.yml (181, 2022-03-22)
Dockerfile (1234, 2022-03-22)
News subscription api.postman_collection.json (2853, 2022-03-22)
app/ (0, 2022-03-22)
app/Console/ (0, 2022-03-22)
app/Console/Commands/ (0, 2022-03-22)
app/Console/Commands/SendEmails.php (1139, 2022-03-22)
app/Console/Kernel.php (827, 2022-03-22)
app/Events/ (0, 2022-03-22)
app/Events/PostCreated.php (639, 2022-03-22)
app/Exceptions/ (0, 2022-03-22)
app/Exceptions/Handler.php (670, 2022-03-22)
app/Http/ (0, 2022-03-22)
app/Http/Controllers/ (0, 2022-03-22)
app/Http/Controllers/Controller.php (361, 2022-03-22)
app/Http/Controllers/PostController.php (755, 2022-03-22)
app/Http/Controllers/SubscriberController.php (836, 2022-03-22)
app/Http/Controllers/WebsiteController.php (362, 2022-03-22)
app/Http/Kernel.php (2394, 2022-03-22)
app/Http/Middleware/ (0, 2022-03-22)
app/Http/Middleware/Authenticate.php (469, 2022-03-22)
app/Http/Middleware/EncryptCookies.php (294, 2022-03-22)
app/Http/Middleware/PreventRequestsDuringMaintenance.php (353, 2022-03-22)
... ...
# News subscription api
### Docker startup
- `docker-compose up -d`
- `docker-compose exec app cp .env.example_docker .env`
- `docker-compose exec app composer install`
- `docker-compose exec app php artisan key:generate`
- `docker-compose exec app php artisan migrate`
- `docker-compose exec app php artisan queue:work`
### if no docker then just install php7.4 and composer and run
- `cp .env.example_docker .env`
- `composer install`
- `php artisan key:generate`
- `php artisan migrate`
- `php artisan queue:work`
## mailing is setup with my test account, should work out of the box
近期下载者:
相关文件:
收藏者: