acatxnamedvirtue / TuneCore-Album-Index

A simple music index, searchable by any combination of album title, song title, and artist name.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Music Search

This app allows you to search for music by any combination of Artist Name, Album Title, or Song Title

There is semi-realistic seed data of 500 songs, 100 albums, and 10 artists using the Faker gem library

To load the seed data, please run rake db:seed

There is only one viewable page, the search view. Controller methods and views have been implemented for the Song model, but these are hidden from the user because the app specifications do not require it. As such, these views have not been styled.

From a fresh download

The app can use either a postgres or mysql database. Just uncomment the appropriate adaptor in the database.yml file, make sure the database server is running, and run these commands:

bundle install

rake db:create
rake db:migrate
rake db:seed

rails s

And navigate to localhost:3000

Tests

Make sure the test database is migrated with rake db:migrate Rails_env=test

Then run rspec from the root directory

About

A simple music index, searchable by any combination of album title, song title, and artist name.


Languages

Language:Ruby 75.2%Language:HTML 14.4%Language:CSS 7.9%Language:JavaScript 2.5%