Skip to content

bakai-dev/laravel-angular

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel & Angular SPA

A Laravel 10 | Angular 15 SPA starter kit.

Features

  • Laravel 15
  • Angular + 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

Installation

### Laravel run with Docker 
make init

Angular

cd frontend
npm install
ng serve

Socialite

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.

Email Verification

Check mailhog message http://localhost:8025/#

Laravel Horizon

http://localhost:8080/horizon

Testing

# Run unit and feature tests
make test

Laravel-Vue Version

https://github.com/cretueusebiu/laravel-vue-spa

About

Laravel Angular | Auth Starter Kit

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 75.6%
  • SCSS 12.2%
  • TypeScript 4.7%
  • Blade 4.7%
  • HTML 1.7%
  • Dockerfile 0.5%
  • Other 0.6%