Coder Social home page Coder Social logo

alldaynba's People

Contributors

theeddychang avatar

Watchers

 avatar  avatar

alldaynba's Issues

Project 3 Feedback

Project Strengths

  • Creative problem solving by accessing NBA data via their in-house API. And nice job on not getting shut down in the process. ๐Ÿ€
  • Great use of a rake task to run dynamic API queries based on the day and store that data into your database.
  • Excellent work on the calculate_probability! method. It's fairly impressive to dive into your own data analysis of any kind.
  • Nice use of scope to pull todays_games from the database!

Growth Opportunities

  • Project Planning: Next time you're working on a project, make sure to plan out details beforehand, like which API data you need and how you'll define your database relationships. It helps to start with clear, precise user stories that define the value proposition, and wireframes that depict how users will interact with your site.
  • Naming Conventions: Your naming is all over the place. You can't control the format of API params or data, but ALWAYS use snake_case in Rails for any variable names, method definitions, etc. that you have control over.
  • Primary/Foreign Keys: You're using the "NBA ids" as primary and foreign keys, and that can be really confusing to other developers. Stick to the Active Record ids unless you have a compelling reason to do otherwise.
  • Routes & Controller Methods:
  • Views: The random spacing in the views is very confusing, and it makes the code hard to follow.
  • Testing: You have an excellent method on the Game model for calculating probability, and it deserves a test. ๐Ÿ˜„
  • To Get Ready for Deploy:
    • README: Add a README file explaining a little about your project, the technologies you used, and how another developer could run the project locally. Follow the Project 3 Guidelines.
    • Gem Groups: The bootstrap-sass gem is in the development group. Make sure to move it out, so the gem can work in production.
    • Postgres Database: Change your database from SQLite to Postgres. You can follow this Heroku guide.
    • Schedule Rake Task: You'll need to schedule your todays_games_info rake task to run every day on Heroku. Read about the Heroku Scheduler.
  • User Interactivity: You did an awesome job sorting through API data and displaying it in a meaningful way. The main thing I see that's missing from this app is an element of user interactivity. Push yourself to dive deeper into Rails by implementing users. Sign up / log in could be optional, but maybe it unlocks additional features, like "watching" specific games or the ability for users to make their own win predictions.

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.