Survey-service is a service to manage surveys in Kermany.com architecture
- this service has api to commiuncate with other microserice
- every app can get token and interact with this service
-
clone this repo
-
JENKINS section (in this file)
-
composer install
-
create .env file by clone .env.example
-
create db and update .env
-
run
php artisan migrate
-
run
php artisan key:generate
-
we should have PackageType with run:
php artisan db:seed --class=Database\Seeders\Migrations\PackageTypeSeeder
php artisan db:seed --class=AnswerTypeSeeder
-
run
php artisan serve
-
open {APP_URL}/health
-
open {APP_URL}/api/docs
- run these commands:
php artisan migrate:refresh --seed
php artisan test
php artisan db:seed --class=Database\Seeders\Migrations\PackageTypeSeeder
php artisan db:seed --class=AnswerTypeSeeder
- open /api/docs
- import postman link then import it
- run and test apis
-
Campaign for marketing activities: مثال
- کمپین تبلیغاتی بهار
- کمپین تبلیغاتی سال 1400
-
Category for report goals e.g:
- روانشناسی
- یا سوالات رضایت مشتری
- یا سوالات هوش
- یا سوالات دغدغه های اجتماعی
-
add jenkins file into root
-
install health package:
composer require ukfast/laravel-health-check
-
modify l5-swagger config file by read Readme.md file >> section [l5-sqagger]
راهنمای استقرار مستندات
openApi
سرویسها در تمام محیط ها.
بعد از نصب پکیج darkaonline/l5-swagger کانفیگ زیر در فایل کانفیگ این پکیج اعمال کنید.
config/l5-swagger.php like this:
'documentations' => [
...
'routes' => [
'api' => 'api/docs',
'docs' => 'swagger/docs',
]
...
The Laravel framework is open-sourced software licensed under the MIT license.