Giter Site home page Giter Site logo

rails-practice-code-challenge-travelatr-london-web-051319's Introduction

Welcome to Travelatr!

Travelatr is company with a singular vision: to enable people from all walks of life to write about their travels to spectacular destinations all over the globe in order to foster a sense of global community and a heightened cultural awareness.

Our founder - a world renowned ice-cream-eating contest champion, gourmet hot-dog connoisseur, and bespoke phone case designer - has hired a diverse pool of talent to execute this vision, a pool that begins and ends with you!

Instructions

Our vision has already begun! We've created migrations and a seed file for you to begin the execution of our vision! Create the associations within your models, then run rake db:setup!

Deliverables

We envision a relationship between our models as follows:

Blogger -< Post >- Destination

For each model, we have a specific vision in mind:

Blogger:

  1. Users should be able to create a new blogger
    • Bloggers should have unique names and ages above 0, and their bio should be over 30 characters long.
  2. Users should be able to see the profile page of a blogger. On this page, a user should see:
    • The total likes on all of that blogger's posts
    • A link to that blogger's featured post (the post with the most likes)
    • BONUS A list of that user's top 5 most written about destinations (the destinations with the most posts)

Destination:

  1. Users should be able to see a destination profile page. On this page, a user should see:
    • The most recent 5 posts written about this destination
    • A link to a featured post (this destination's post with the most likes)
    • The average age of all unique bloggers who have written about this destination.

Post:

  1. Users should be able to create and edit a post
    • Users should be able to select a blogger from a dropdown menu
    • Users should be able to select a destination from a dropdown menu
    • A post should have a title
    • A post should have content longer than 100 characters
  2. Users should be able to see a post's page with its title and content displayed. On this page, a user should see:
    • A link to the page of that post's author
    • A link to the page of that post's destination

rails-practice-code-challenge-travelatr-london-web-051319's People

Contributors

dependabot[bot] avatar maxwellbenton avatar notnotdrew avatar ronricardo avatar rrcobb avatar sbal13 avatar sylwiavargas avatar

Watchers

 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.