Coder Social home page Coder Social logo

colinwarmstrong / day_hike Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jtrtj/day_hike

0.0 2.0 0.0 157 KB

Timed code challenge implementing a basic Rails app for tracking hiking trips.

Ruby 24.14% JavaScript 0.64% CSS 20.02% HTML 55.20%

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.

Constraints:

  • Users will go on many hiking trips
  • Users will visit one or more trails on a hiking trip
  • Users should be allowed to use the same trail on different hiking trips
  • Users will only take a hiking trip on a single day (no overnight camping!)

Do's and Don'ts:

  • You will not need to implement authentication/authorization functionality.
  • You will be expected to present full test coverage for everything you build.
    • you are ONLY excused from writing validation/relationship tests at the model level

Hiking Trip Index page

As a visitor,
when I visit the hiking trips index page,
I see a list of all hiking trip names in
the database.
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

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.
As a visitor,
when I visit a hiking trip's page,
I see the total hiking distance
of all trails on that hiking trip
As a visitor,
when I visit a hiking trip's page,
I see the average hiking distance
of all trails on that hiking trip
As a visitor,
when I visit a hiking trip's page,
I see the longest hiking distance
from all trails on that hiking trip
As a visitor,
when I visit a hiking trip's page,
I see the shortest hiking distance
from all trails on that hiking trip
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

As a visitor,
when I visit a trail's page,
I see the name, address, and total length of
every hiking trip that includes this trail
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

Contributors

colinwarmstrong avatar alischlereth avatar iandouglas avatar

Watchers

James Cloos avatar  avatar

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.