Latest Angular10(NgRx) Laravel7.x(Sanctum Api) Role Based Login
Click Here
Angular-8-Laravel-6-user-Login-token-authentication
Angular 8+ and Laravel 6+ token based User Authentications For Beginner
This is a Angular 8.* and Laravel 6.X admin panel starter project with Token based authentication, Angular Lazyloading, Server Side Error handling, Reactive Forms and Laravel CORS managing.
Installation laravelAngularApi
It is a full Laravel project that you should use as a starter project and implement your own functions.
- Clone the repository with git clone
- Copy .env.example file to .env and edit database credentials there
- Run
composer install
- Run
php artisan key:generate
- Run
php artisan migrate
- Run
php artisan passport:install
- That's it: http://localhost/laravelAngularApi/public/(Run on any localhost server)
Installation AngularUI
It is a full Laravel project that you should use as a starter project and implement your own functions.
- Clone the repository with git clone
- Install NodeJs from NodeJs Official Page.
- Open Terminal
- Go to your file project
- Make sure you have installed Angular CLI already. If not, please install.
- Run in terminal: npm install
- Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Home Page
Dashboard
Login with server errors
Register with server errors
Dashboard and Token
Logout