Giter Site home page Giter Site logo

tunecore-searchable's Introduction

TuneCore Searchable

A Rails implementation of a fuzzy search for songs by any combination of song title, artist name, album title and keyword.

Get It Up and Running

  • git clone
  • rake db: create; rake db:migrate; rake db:seed
  • Run it! rails s

View It

  • check out a deployed version of this app here

Technologies

  • Postgresql database stores songs and their associated artists and albums.
  • Database seeded by parsing JSON files stored in db/fixtures. JSON files populated with Spotify API response data.
  • Search feature implemented with AJAX and Active Record queries leveraging the joins method to execute SQL queries on associated data.
  • Search feature sends search request via AJAX, renders responds with a .js.erb view file. For pure client-side implementation using jBuilder to render JSON, see this branch. For pure client-side implementation using Active Model Serializers to render JSON, see this branch.
  • Search feature uses Active Job, with the SideKiq adapter, backed by Redis in production, to execute search against database.
  • Search methods are wrapped in a Search service class, found in app/servics/search.rb.
  • Responsive UI implemented with Bootstrap and Bootswatch.
  • RSpec tests for models and job; RSpec + Capybara for feature testing of search functionality.

tunecore-searchable's People

Contributors

sophiedebenedetto avatar

Watchers

 avatar  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.