Laravel | Angular SPA starter kit.
- Laravel 10 + laravel Sanctum + laravel Social
- Angular 15 + Angular Material + RxJs
- Login, register, email verification and password reset
- Authentication with Laravel sanctum
- Socialite integration
- Docker compose
- Laravel horizon
A Laravel 10 | Module structure https://github.com/nWidart/laravel-modules
- Check api/Modules folder
- | Auth | Profile
## run: docker-down-clear api-clear docker-pull docker-build docker-up api-init
make init
cd frontend
npm install
ng serve
This project comes with GitHub as an example for Laravel Socialite.
To enable the provider create a new GitHub application and use https://example.com/api/oauth/github/callback
as the Authorization callback URL.
Edit .env
and set GITHUB_CLIENT_ID
and GITHUB_CLIENT_SECRET
with the keys form your GitHub application.
For other providers you may need to set the appropriate keys in config/services.php
and redirect url in OAuthController.php
.
Check mailhog message http://localhost:8025/#
# Run unit and feature tests
make test