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.

User model<br />

In order to save listing items to the database, we first need a user model, as we<br />

want each user to have their own unique list. Adding a user model means we'll<br />

also need an authentication system so that users can sign in <strong>and</strong> out. Fortunately,<br />

<strong>Laravel</strong> provides a full-featured user model <strong>and</strong> authentication system out-ofthe-box.<br />

Let's now take a look at the user model boilerplate files to see what<br />

modifications will be needed to fit them for our purposes.

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

Saved successfully!

Ooh no, something went wrong!