Skip to content

leahriffell/adopt_dont_shop

Repository files navigation

Adopt Don't Shop

BE Mod 2 Week 1 Solo Project Live app

Rails Application

Adopt Don't Shop is an app that has pet shelters and their associated pets for adoption.

Learning Goals

Rails

  • Implement CRUD functionality for a resource using forms (form_tag), buttons, and links
  • Use MVC to organize code effectively, limiting the amount of logic included in views and controllers
  • Create routes for
    • standalone resources
    • nested resources
  • Template a view in Rails using a templating language (eg, erb)
  • Implement CRUD functionality for nested resources

ActiveRecord

  • Create instance methods on a Rails model that use ActiveRecord associations
  • Use built-in ActiveRecord methods to: create, read, update, and destroy records in a database
  • create records with relationships to other records in a database

Databases

  • Describe Database Relationships, including the following terms:
    • Primary Key
    • Foreign Key
    • One to Many
  • Write migrations to create tables and relationships between tables Describe ORMs and their advantages and use cases

Testing and Debugging

  • Write feature tests utilizing:
    • RSpec and Capybara
  • CSS selectors to target specific areas of a page
  • Use Pry or Byebug in Rails files to get more information about an error
  • Use save_and_open_page to view the HTML generated when visiting a path in a feature test
  • Utilize the Rails console as a tool to get more information about the current state of a development database
  • Use rails routes to get additional information about the routes that exist in a Rails application

Styling

Web Applications

  • Describe the HTTP request/response cycle
  • Describe the different parts of HTTP requests and responses

About

Mod 2 Individual Project 1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published