Skip to content

Tickets

Leon Cross edited this page Dec 18, 2018 · 4 revisions

Estimation DOD - acceptance criteria

Routes

  • create routes for:
  • '/' which will be log in; then goes to /users/id
  • '/users/sign_up'; then goes to /users/id
  • '/users/id' which will be personal page
  • '/users' which will be home page

Views

  • map routes to views
  • create buttons for navigation (sign in, sign out, sign up, home page, personal page)
  • sign in (devise default)
  • sign up (devise default)
  • home page - list of users, search bar for users
  • users/id page - show bio information (boxes for age, bio textbox, location), has text box with has ability to post message to page, displays all posts, navigation buttons (home button, personal button, log out button). has edit bio button

Create bio model: (will be child of user model)

  • linked to User ID (1-1)
  • age (optional)
  • bio text box (optional)
  • location (optional)

Create user model:

  • user controller, user model, user route
  • first name (required)
  • surname (required)
  • password (required)
  • username (unique)
  • email address (unique)
  • id (unique)

Create post model:

  • post controller, post model,
  • id
  • maker_id
  • recipient_id
  • text
  • date

Authentication:

  • sign up and creates a user
  • log in and grants access to application
  • cancel session on log out
  • confirms password in sign-up
  • have default view pages
  • set up devise as default

Tests, Code Quality, Code Style

  • Rubocop
  • Travis
  • 95% + pass rate on Rspec / capybara

Clone this wiki locally