Code Monkey home page Code Monkey logo

jquery-jukebox's Introduction

This Is My Jam: AJAX Playback Links

Hi! For this project, let's use This is My Jam to find lots of links to music we like. :)

This repo already has...

  • A rails project
  • An api endpoint to search the TIMJ API by Artist.
  • Rspec setup with a couple of simple tests

Wave 1: You need to create

  • A view with a form that will use jQuery's AJAX functionality to GET from the API endpoint
  • One or many js functions to...
    • parse the returned JSON data
    • add dom nodes to the view representing the returned search results
    • include links to the resources referenced in the parsed data (YouTube, Spotify, etc.)
  • At no point should the view refresh or the user be taken to another URL.

Wave 2: Add a new endpoint

  • Utilize one of the API calls provided by TIMJ described below to create a new API endpoint in the ApiController.
  • Write tests for your endpoint.
  • The API endpoint should return JSON.
  • Add new functionality to your view/javascript to...
    • Let the user determine what functionality they would like to use
    • Hit your new endpoint using Ajax
    • Render results in the browser without reloading the page at any point.

Wave 2 TIMJ API Calls - Choose at least one to implement

Bonus Fun

  • Instead of adding links to the view, try using the data to create embedded players for the specific service (i.e., embed the YouTube video, instead of linking to it).
    • HINT: YouTube and Vimeo use html iframe elements to do video embedding.
    • MOAR HINT: Don't use "embedly"
  • If a user's search returns no results, suggest/embed/link to something for them instead.

jquery-jukebox's People

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.