Skip to content

MMoreira01/service-provider

Repository files navigation

Service Provider

This repository serves as service provider that will use the identity provider repository to authenticate users.

This should run on port 8001 and the identity provider should run on port 8000.

The Service Provider is a simulated Academic Papers Repository,where the user can login by using the Identity Provider Plataform, in this case the Muudal Plataform. After he authorizes the access, he can navigate freely through the platform, and see the papers that are available.

Setup

  1. Install dependencies and copy the .env
composer install
npm install
  1. Copy the .env file, generate a key and the assets
php -r "copy('.env.example', '.env');"
php artisan key:generate
npm run prod
  1. Create a database and fill the .env file with those details
# .env
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
  1. Run the migrations and create the admin user
php artisan migrate
php artisan db:seed
  1. Serve the project
php artisan serve --port=8001

Usefull commands

  • While testing Migrations and Seeders
php artisan migrate:rollback
php artisan migrate
php artisan db:seed

Credits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages