Skip to content

bcode-devs/laravel-angular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel & Angular SPA

Laravel | Angular SPA starter kit.

Features

  • 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

Installation

## run: docker-down-clear api-clear docker-pull docker-build docker-up api-init
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

Releases

No releases published

Packages

No packages published