- Install vendor
composer install
- Generate JWT Secret in
AuthenticateService
php artisan jwt:secret
> yes
-
copy .env.example in
AuthenticateServiceandRegistrantServiceto .env -
Copy env
JWT_SECRETfromAuthenticateServicetoRegistrantService -
Set env
DB_HOST,DB_DATABASE,DB_USERNAME,DB_PASSWORD -
Run
AuthenticateService
php artisan serve
- Run
RegistrantService
php artisan serve --port 8001
cd AuthenticateService and cd RegistrantService
php artisan migrate
Second migrate
php artisan migrate:fresh --seed
php artisan migrate:refresh
php artisan seed