Giter Site home page Giter Site logo

mytunes's Introduction

MyTunes (Recordly Demo)

Description: gist.github.com/stujo/9aa6f5b2e16eb04c0bed5b69e187c352 Heroku hosting: mytunes-blythe.herokuapp.com

Simplified assumptions

  • Only one artist is allowed per album and also song. has_and_belongs_to_many could be used between User and Song to create and association for additional artists for each song.

  • Users cannot share artists, albums and songs. In a real app, I would assume that artists and songs and albums could be shared by users. I would use has_and_belongs_to_many relationship between user and each respecitive association.

  • Search does a wildcard search for matching albums, artists or songs. The limitation is that the song must exist in the album. A search for “He” would return a song called “Grape” from an album “Hello”. A nice enhancement would be to make a separate list of songs, albums and artists.

  • Favorites are working with AJAX but I didnt have time to build the views to show them. Instead of adding a favorite boolean field, I used polymorphism. If the app is upgraded to allow sharing objects amongst users this would be necessary, and it was fun!

Notes

  • This was my first time trying Postgres, devise gem for user authentication, and the bootstrap nav bar. I dont recommend devise, as there is a lot of overhead for a simple app. Bootstrap rocks. Postgres works. Falling down these rabbit holes made it take a bit longer to build the app.

  • Test coverage (with Rspec and FactoryGirl) is weaker than I prefer. Its hard to have full coverage in a few hours and I got distracted by the stupid devise gem

mytunes's People

Contributors

blythedunham avatar

Watchers

 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.