Giter Club home page Giter Club logo

the_pivot's Introduction

Stories in Ready

The Pivot: Project Description

Project Members: [Adam Caron] (https://github.com/adamcaron), [Dave Maurer] (https://github.com/davemaurer), [Jack Yeh] (https://github.com/jxandery)

[Project Outline] (https://github.com/turingschool/lesson_plans/blob/master/ruby_03-professional_rails_applications/the_pivot.markdown) | [Heroku] (http://way-out-there.herokuapp.com)

The Pivot is the first project in Module 3 at the [Turing School] (http://turing.io/). Each group is given a legacy project to work with. The intent of the project is to simulate the professional challenges of inheriting an imperfect code base and pivoting to a complete different concept.

The original project, [Endangerous Outfitters] (http://endangerousoutfitters.herokuapp.com/), was a single platform e-commerce company offering luxury tour guide services. We turned Endangerous Outfitters into [Way Out There] (http://way-out-there.herokuapp.com), a multi-tenancy site for short-term lodging rentals. We drew on Airbnb for design and feature inspiration.

Instructions for running the project locally:

  1. Clone the project in your terminal $ git clone https://github.com/adamcaron/the_pivot.git
  2. Install and setup the gem dependencies $ bundle install
  3. Start the server $ rails s
  4. Visit http://localhost:3000 in your preferred browser
  5. Run the tests $ bundle exec rspec

Areas of Focus

  • Working with Multitenancy
  • Implementing JavaScript
  • Securing a Rails App
  • Creating Seed files
  • Git Workflow
  • ** Sending Email
  • ** Implement payment system - Stripe

the_pivot's People

Contributors

adamcaron avatar maxmillington avatar jxandery avatar alex-tideman avatar davemaurer avatar dsshim avatar waffle-iron avatar

Stargazers

Tacoplz avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

the_pivot's Issues

Dashboard Link: Re-designed

Make username profile link in navbar same size as other fonts; simply change the color to make it stand out.

UI for Listing/show page

Listing/show image
Lising/show needs more information (name of location, dates, description, amenities etc. ... sell it!)

Homepage-Search Field:

  1. Indicate search fields with 'labels' or placeholder text
  2. Make search fields bigger
  3. Make button the same size as search fields

Re-name 'Cart'

Currently, it doensn't make sense to have a "cart" since the user is booking a trip.

Perhaps the cart can be transformed into a 'confirmation page'

refactor reservation creation from the controller

Refactor controllers:

  • reservations_controller.rb

Presently:

  def create
    if current_user
      current_user.reservations.create(user_id:     current_user.id,
                                       status:      1,
                                       listing_id:  cart_listing.listing.id,
                                       start_date:  session[:dates]["from"],
                                       end_date:    session[:dates]["to"],
                                       total_cost:  cart_listing.total_cost)

      session[:cart].clear
      session[:dates].clear
      flash[:notice] = "Reservation was successfully placed!"
      redirect_to reservations_path
    else
      flash[:notice] = "You must be logged in to checkout!"
      redirect_to login_path
    end
  end

Listings Index Page: Add 'Featured Lodging' area

Noelia recommended that we add a 'Featured Lodging' area to the Listings Index, so that the view looks a little more 'fleshed out'.

Take the code for the 'Featured Lodging' from the welcome page and extract it into a partial to be used on both the homepage and the Listings Index.

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.