GithubHelp home page GithubHelp logo

disney's Introduction

Disney

git clone https://github.com/philmccarthy/disney.git
cd disney
bundle install
rake db:drop db:create db:migrate db:seed
rails s

Navigate to http://localhost:3000 in your browser

WHAT:

An ActiveRecord project using a database that includes two parent-child relationships. This project is mirrored around Disney, which has theme parks and resorts. Theme parks have many rides, and resorts have many vacationers.

CONTRIBUTERS:

SCHEMA:

Our scheme consists of two separate parent-child relationships. Theme Parks have many rides, and resorts have many vacationers. Each theme park table has an ID, a name, a city, a boolean of open, as well as created_at and updated_at datetime columns. Its child table, rides, has an ID, a name, a max_occupants, an operational boolean, as well as created_at and updated_at datetime columns. Our other parent table, resorts, contains an ID, name, amount_of_rooms, a vacancy boolean, and the two datetime columns. The resort's child table, vacationers, holds an ID, first_name, last_name, checked-in boolean, as well as the created_at and updated at datetime columns. Screen Shot 2020-12-02 at 8 47 01 PM

FUNCTIONALITY:

The site includes a navigation bar for links to every parent and child. Each parent page includes a link to sort by number of children. If you click on a parent name, it will bring you to a page that shows more details and also includes a link to show the children that belong to that parent, where you can alphebetize the children listed by clicking a button. On the rides and resorts pages, you can limit the results on the page by showing more than a selected number of the maximum number of occupants on a ride, or the amount of rooms at a resort. Every parent and child can be created, edited and deleted on the show page, as well as the page that lists the children belonging to a specific parent. Names of parents and children hold links to that element's show page for ease of access.

disney's People

Contributors

catherinemdean15 avatar philmccarthy avatar

Watchers

James Cloos avatar  avatar  avatar

disney's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.