Skip to content

Demo-project of Laravel Login/Register via API from Vue.js client

Notifications You must be signed in to change notification settings

LaravelDaily/Laravel-Vue-Login-Register

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Demo-project of Laravel Login/Register via API from Vue.js client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published