Finished structuring for adding Sinatra to project. At this point I can view all songs and add songs from a web server
Index, show, new, and create endpoints are all working properly
Test cases are wrriten for each route now
Spec tests now use seperate database for testing
Added genre entity
Tests are passing for genre entity, added require statements in songify.rb
Basic methods for genre repo implemented (create tables, db init)
Tests passing for save_a_genre method
Tests passing for get_a_genre method and build_genre method has been implemented
Tests passing for get_all_genres method
Tests passing for get_a_genre_by_name method, modified name of get_a_genre to get_a_genre_by_id
Added delete_a_genre method and test cases
Added genre_id to Song entity and songs repo. When songs are added, a genre id is assigned to it
Added foreign key to make a relationship between tables, tests are passing. Had to use truncate table instead of drop table
used strip method in server.rb in order to remove unneccessary whitespace that could be typed in by the user. also prevents the user from typing in strings with only spaces
Added a new route which allows the user to select all songs by genre. Implemented method in songs repo which gets songs by given id. Added new view to display the list of songs by genre
Modified layout.erb