Giter Club home page Giter Club logo

rails-grooveshark-clon's Introduction

Rails Grooveshark Clon

Team

  • Marieth
  • Brayan
  • Cesar
  • Jefferson
  • Jonathan

Routes

/api

#### /songs

| # | type | route | description |
|:-:|:---- |:----------- |:------|
| 1 | ```GET``` | ```/songs``` | list all songs |
| 2 | ```GET``` | ```/songs/search?title``` | list all songs founded by :title |
| 3 | ```GET``` | ```/songs/:id``` | list songs's details by :id |
| 4 | ```GET``` | ```/songs/:id/albums``` | list all albums where a song with a specific id belongs |
| 5 | ```GET``` | ```/songs/:id/artists``` | list all artists who sing a song with a specific id |
| 6 | ```PUT``` | ```/songs/:id/progress``` | update the field progress of a song with a specific id|
| 7 | ```PUT``` | ```/songs/:id/rating``` | update the field rating of a song with a specific id|

/admin

#### /songs

| # | type | route | description |
|:-:|:---- |:----------- |:------|
| 1 | ```GET``` | ```/songs``` | list all songs as table in a web page |
| 2 | ```GET``` | ```/songs/:id``` | list songs's details by :id in a web page |
| 3 | ```GET``` | ```/songs/new``` | view to create a new song |
| 3 | ```POST``` | ```/songs``` | adds song to database and redirect to the page /songs |
| 4 | ```DELETE``` | ```/users/:id``` | deletes user by :id |
| 5 | ```PUT``` | ```/users/:id``` | overwrites user's data by :id **(1)** |
| 6 | ```GET``` | ```/users/:id/channels``` | list all channels created by user :id |

rails-grooveshark-clon's People

Contributors

cdsandoval avatar cesarcachay avatar cristianbgp avatar dotconde avatar linzeur avatar mariethperez avatar sergiodxa avatar stg101 avatar valevassallo avatar

Watchers

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