Coder Social home page Coder Social logo

day_hike's Introduction

General Application Background

The intention of this application if for users to coordinate which trails they will be using for a day hike. This will test your ability to set up many-to-many relationships and access attributes and methods through those relationships.

Constraints:

  • Visitors will go on many hiking trips
  • Each hiking trip is made up of one or more trails
  • A trail may be part of more than one hiking trip

Be sure to read all user stories BEFORE beginning your work

Setup

  • Perform the usual setup steps after cloning a Rails application

Requirements

  • TDD all new work; you may postpone model tests for attribute validations only

Not Required

  • No form input is required
  • No visual styling is required

User Stories

Hiking Trip Index page

User Story 1 of 10

As a visitor,
when I visit the hiking trips index page,
I see a list of all hiking trip names in
the database.
User Story 2 of 10

As a visitor,
when I visit the hiking trips index page,
and I click on the name of a hiking trip,
I see a unique page for that hiking trip.

Hiking Trip Show page

User Story 3 of 10

As a visitor,
when I visit a hiking trip's page,
I see a list of trails included in the trip,
I see the name, address, and length for each trail.
User Story 4 of 10

As a visitor,
when I visit a hiking trip's page,
I see the total hiking distance
of all trails on that hiking trip
User Story 5 of 10

As a visitor,
when I visit a hiking trip's page,
I see the average hiking distance
of all trails on that hiking trip
User Story 6 of 10

As a visitor,
when I visit a hiking trip's page,
I see a heading that says "Longest Trail on Trip"
  and the name and length of the longest trail
  included on that hiking trip
User Story 7 of 10

As a visitor,
when I visit a hiking trip's page,
I see a heading that says "Shortest Trail on Trip"
  and the name and length of the longest trail
  included on that hiking trip
User Story 8 of 10

As a visitor,
when I visit a hiking trip's page,
I can click on the name of a trail
to see a show page for that specific trail.

Trail Show page

User Story 9 of 10

As a visitor,
when I visit a trail's page,
I see the name and address of this trail.
I also see the name and total length of
every hiking trip that includes this trail
User Story 10 of 10

As a visitor,
when I visit a trail's page,
I see the total number of hiking trips where this trail
was included

day_hike's People

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.