efillman / Laravel-make-auth-React-Redux

Mimics Laravel make:auth with full REST and a React Front End

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel make:auth React Redux

Objectives:

  • Mimic all features of the Laravel make:auth scaffold using full REST and a React front end.

Measures of Effectiveness:

  • Acts and behaves like a fresh Laravel install having run make:auth and associated migrations but with React front end.
  • Does not use session variable (other than Redux store).
  • Survives Page Refresh
  • Best Security Practices for Auth Token
  • Uses Best Practices for Laravel
  • Uses Best Practices for React

Software Stack:

Back end:

  • Major Packages:
  • MySQL
  • Laravel 6.* LTS
  • Laravel Passport
  • Minor Packages:

Front end:

  • Major Packages:
  • React
  • React Router
  • React Redux
  • Minor Packages:
  • React-Bootstrap

Installation Instructions:

  • clone repository
  • composer install
  • npm install
  • npm run dev
  • update Laravel security settings
  • update local /etc/hosts file
  • update Apache2 Virtual Hosts
  • examples in server_configs
  • generate SSL certs if wanted (https://devcenter.heroku.com/articles/ssl-certificate-self)
  • update Laravel .env file
  • ensure to update msql database info
  • generate Laravel app key
  • php artisan key:generate
  • link storage
  • php artisan storage:link
  • run migrations
  • php artisan migrate

Contributing:

  • TODO

References:

  • TODO

About

Mimics Laravel make:auth with full REST and a React Front End

License:MIT License


Languages

Language:PHP 83.6%Language:Blade 15.8%Language:Shell 0.6%