Giter Club home page Giter Club logo

down2golf's Introduction

ARE YOU DOWN TO GOLF?

logo


  • TECHNOLOGIES USED

  • RUBY ON RAILS

  • POSTRGRES

  • FOUNDATION

  • JAVASCRIPT

  • JQUERY

  • HTML

  • SASS

  • GIT

  • GEMS/API

  • RATY RATE

  • GOOGLE MAP API

  • OPEN WEATHER APP

  • DEVISE

  • BRAINTREE

  • RAILS ERD

  • GON

  • FIGARO

  • CLOUDINARY

  • GRAVATAR

  • MAILBOXER

  • WILL_PAGINATE

MILESTONES

Don't forget to rake your routes 😉 routes

Eric's Gem of Code 😎 controller

Jonathan Gets Hacky with Google Maps routes

What this app does:

This app solves the ‘lonely golfer issue’ by giving our users a chance to browse golf courses and matches created by other users in the bay area.
When you log into our app, you will be given the option to login or sign up.(NOT CONSIDERING PRO ACCT) Once a user does that, he/she will be directed to our matches index pages that displays a list of matches being held by other users(moderators). The user has a chance to join by their preference of golf course or users in the match.
After creating or joining a match, a user is allowed to view the match on the map show page a see a bevy of information, including a picture of the golf course, time/date, name of match(ex. Jonathan’s Nine Hole for Sunday), users involved and also a map to the golf course where the match is being held, and comments being posted by users that may want to join and users that have already joined.
A user will experience the look and feel of a single page app (SPA) by having every form conveniently in a modal. With an exception of the comment form on the match show page.
A user may edit or view their profile on the profile show page, but may not search or view other users profiles. If a user did not choose to log in or sign up, they are allowed to surf the golf courses that we are affiliated with but may not view the matches index page. However they may view the golf courses index/show page and see what matches are being held or upcoming on that particular course, including the users joined in that match.
Down2Golf free allows you as a user to join one match at a time. For our stretch we will only allow pro users to create matches. Fee users may only join those matches, however they are limited to one a time.

USER STORY

  • A user should be able to sign up as free or premium.
  • A user should be able to create matches.
  • A user should be able to join matches.
  • A user should be able to view matches that he’s joined.
  • A user should be able to view all golf courses.
  • A user should be able to message other users.
  • A user should be able to leave ratings for golf courses.
  • A user should be able to comment on a match or course.

SPECIAL THANKS TO

EVERYONE, GOODLUCK!

routes

<iframe width="560" height="315" src="https://www.youtube.com/embed/izGwDsrQ1eQ" frameborder="0" allowfullscreen></iframe>

down2golf's People

Contributors

scoobaroo avatar

Stargazers

 avatar

Watchers

James Cloos avatar jonathan avatar  avatar

Forkers

scoobaroo

down2golf's Issues

Don't commit broken / incomplete code to master

e0b3c1e

+  .controller('CoursesController', CoursesController);
 +
 +ListsController.$inject = ['CoursesService', '$location'];
 +function ListsController(   CoursesService,   $location  ) {

This is half-way a ListsController and half-way a CoursesController. Your future co-workers will not appreciate you checking in something like this.

code quality - User Model

This doesn't seem right:

  def update_with_password(params, *options)
    current_password = params.delete(:current_password)
  if params[:password].blank?
    params.delete(:password)
    params.delete(:password_confirmation) if params[:password_confirmation].blank?
  end
  result = if params[:password].blank? || valid_password?(current_password)
    update_attributes(params, *options)
  else
    self.assign_attributes(params, *options)
    self.valid?
    self.errors.add(:current_password, current_password.blank? ? :blank : :invalid)
    false
  end
    clean_up_passwords
    result
  end

Did you code-review?

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.