- Install vendor
composer install
- Generate JWT Secret in
AuthenticateService
php artisan jwt:secret
> yes
-
copy .env.example in
AuthenticateService
andRegistrantService
to .env -
Copy env
JWT_SECRET
fromAuthenticateService
toRegistrantService
-
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