25.06.2018 Views

Full-Stack Vue.js 2 and Laravel 5

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Server routes<br />

CSRF protection<br />

Post-login redirection<br />

Adding authentication links to the toolbar<br />

Protecting the saved route<br />

Passing authentication state to the frontend<br />

auth meta property<br />

Responding to authenticated state<br />

Retrieving saved items from the database<br />

Persisting saved listings<br />

Creating an API route<br />

<strong>Vue</strong>x actions<br />

AJAX request<br />

API authentication<br />

OAuth<br />

<strong>Laravel</strong> Passport<br />

Attaching tokens<br />

Summary<br />

10. Deploying a <strong>Full</strong>-<strong>Stack</strong> App to the Cloud<br />

Heroku<br />

CLI<br />

Creating an app<br />

Source code<br />

Environment variables<br />

Creating a database<br />

Default string length<br />

Configuration<br />

Configuring a web server<br />

Passport keys<br />

Deployment

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!