This is the code for the AngularJS and Laravel token-based authentication tutorial on Scotch.io
Clone the repository and install the Laravel vendor files
composer install
Once your .env file is setup with your database connection parameters, run the migrations and seed the database
php artisan migrate
php artisan make:seeder UsersTableSeeder (If UsersTableSeeder is not found in database/seeds)
php artisan db:seed
The Scotch branch has all the code that is covered in the first part of the tutorial on Scotch.io.
- Dynamic Title.
- Angular Material Design.
- html5Mode in Angular to have clean URLs i.e. without #/ .
- Separate JS Files combined with gulp to make development easy.
- Restriced Pages are not accessible with help of http interceptor
- More stuff is under progress....