Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //*******************************************************************************************
- //USER STORIES
- //*******************************************************************************************
- - User can see landing page/main index of all posts
- - User can and see their personal index page with index of their posts
- - User can create new post, edit posts, and delete posts
- - User can log out to landing page
- //*******************************************************************************************
- //LIST OF APP SCREENS
- //*******************************************************************************************
- - Landing/main index page with "Login" or "Sign Up" links and listing all posts/images
- - Login/Signup page with form
- - Personal index page with edit/delete buttons (if logged in)
- - Edit/Create page when updating or making new post
- //*******************************************************************************************
- //USER FLOWS
- //*******************************************************************************************
- Landing page:
- a. default landing page has data already there (e.g., image/post gallery), even for users not authenticated,
- but you need to log in to add/edit posts
- b. user clicks "login/register" and gets taken to login/register form
- Login/signup page (has single login button, but below this a link that says "Click here to register", when clicking this,
- it changes login button text to "Register" and changes fields to what you need to register;
- this will also travel to /login or /register routes):
- a. user inputs correct data and is redirected to their personal index page
- b. user inputs wrong data and is redirected to same page, with error message
- c. user inputs already-taken name or wrong password and gets prompted for right data
- d. user has no account and clicks for signup/register
- Signup form (replaces login form with new fields, as noted above):
- a. user submits validated data and gets redirected to main index page (with message/buttons to add post?)
- b. user submits invalid data or tries taking already-taken name and gets error message
- Personal index page:
- a. user clicks on a thumbnail and is taken to that post's page with text and image
- b. user clicks edit and gets taken to that post's page with editable text/image
- c. user clicks delete and gets warning before deleting post
- d. user clicks main index to see all posts (by user? or just one big gallery?)
Add Comment
Please, Sign In to add comment