angular7-laravel-ngrx-auth-roles
February 24, 2019 ยท View on GitHub
code for authentification with ngrx & milturoles (Admin, User, Public) frontEnd using Angular 7 & backEnd using Laravel
Getting Started
To get started, clone the repo, create database, config .env, install the dependencies
git clone https://github.com/simowahabi/angular7-laravel-ngrx-auth-roles.git
cd angular7-laravel-ngrx-auth-roles/backend
composer install
cd ..
cd frontend
npm install
create database
open backend folder and create file .env and configure it
run
php artisan migrate
Development server
Run php artisan serve in backend folder && ng serve in frontend folder for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files