Laravel Notes User Story

Laravel is a PHP framework. Like any framework, it has its own way of doing things. It also follows the MVC framework which you might not be familiar with. There’s a lot to learn. Instead of learning the different parts of Laravel in no particular order, we’re going to learn about Laravel as we walk through a fairly basic application. Here’s the user story of that basic application. I’m a huge fan of creating user stories to help you understand what your applications will do.

You can view all the code for this course on github: https://github.com/davidrichied/laravel-notes.

User Story

User visits the home page.

He goes to the register page.

He creates an account.

He goes back to the home page.

He sees a button to create a note.

He clicks the button.

He goes to the page for creating a note.

He enters a title and some content.

He clicks the Create Note button.

He is redirected to the specific page for editing that note.

He clicks the My Notes link in the menu and sees his note.

He sees the title of the note.

He sees a button to edit or delete the note.

He clicks the button to edit the note and goes to a page for editing a note.

He sees a form that is pretty much identical to the form for creating a note. The only difference is that the button says Save Note instead of Create Note.

He makes some edits and clicks Save Note.

He goes back to the notes page and sees his note.

This time, he clicks the button to delete the note.

The note gets deleted.