Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.23 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.23 KB

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