Best laravel framework open-source packages.

Laravel Vue Login Register

Demo-project of Laravel Login/Register via API from Vue.js client
Updated 2 months ago

How to use

  • Clone the repository with git clone

Back-end

  • Go to the sub-folder cd laravel-api
  • Copy .env.example file to .env and edit database credentials there
  • Add correct value of your domain for front URL in this variable: FRONTPAGE_VERIFY_URL=[your_domain]/verify/
  • Run composer install
  • Run php artisan key:generate
  • Run php artisan migrate --seed (it has some seeded data for your testing)
  • Run php artisan passport:install

Front-end

  • Go to the sub-folder cd front
  • Copy .env.local.example to .env.local and edit URL of your API
  • Run npm install
  • Run npm run serve
  • That's it: launch the URL that appears in the terminal - could be http://localhost:8080

License

Basically, feel free to use and re-use any way you want.


More from our LaravelDaily Team