Skip to content

wipcamp/11-microservices

Repository files navigation

11-microservices

Setting up Project for Development

  1. Install vendor
composer install
  1. Generate JWT Secret in AuthenticateService
php artisan jwt:secret
> yes
  1. copy .env.example in AuthenticateService and RegistrantService to .env

  2. Copy env JWT_SECRET from AuthenticateService to RegistrantService

  3. Set env DB_HOST, DB_DATABASE, DB_USERNAME, DB_PASSWORD

  4. Run AuthenticateService

php artisan serve
  1. Run RegistrantService
php artisan serve --port 8001

Migration Database

cd AuthenticateService and cd RegistrantService

php artisan migrate

Second migrate

php artisan migrate:fresh --seed
php artisan migrate:refresh

Seeding Database

php artisan seed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages