bakai-dev / laravel-angular

Laravel Angular | Auth Starter Kit

Home Page:http://bcode.kg/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

http://bcode.kg/


Languages

Language:PHP 75.5%Language:SCSS 12.2%Language:TypeScript 4.7%Language:Blade 4.7%Language:HTML 1.7%Language:Dockerfile 0.5%Language:Shell 0.4%Language:JavaScript 0.1%Language:Makefile 0.1%