nicklathe / google_products_ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Winter Break Assignment

##Fix up your project

###Home page description

  • Home pages must include a description of what you're app is, to a new and incoming user. If this was a real app, you wouldn't know what the site is about.

###Site Contact Info

  • Have a proper about section on the page, in order to have recruiters and people contact you

###Validation and Error handling

  • All fields taken by the user should have validation
  • All models should have validations on critical fields, like uniqueness for email/username, and password lengths
  • All fields and routes should be able to handle unexpected input, and empty values.
    • All incorrect urls should be handled with 404 pages, and not crash your app. Example: /home/asldkfjalsdf or /user/a342 will not result in a crash.
    • Regardless of what you type in any field, your app should check for bad values and inputs.
    • Display error and flash messages everywhere on the site.

###Visual Styling and Usability

  • All page content should fit within bounds on desktop and mobile. This means no content should overflow outside of its container.
  • Maps should not zoom with mouse scrolls.

###Code Quality

  • All code should be properly indented.
  • Make sure all variables, routes, and views have descriptive names. A new developer should know how your app works and where data is being sent.
    • Get rid of variables like data and translate it to things like usersData
  • Make sure .env files are not stored on github.

##Ruby We will be returning from ruby when we get back. But before then, you can check out these resources before we deep dive into when we get back. To get ready we're going to re-do the google products assignment using ruby. See google_shopping.md for more info.

###Ruby Resources

Learn Ruby the hard way by Zed Shaw

Rails Tutorial by Michael Hartl

Rails Guide

About


Languages

Language:Ruby 100.0%