/last.fm

Search music artists using Last.fm api

Primary LanguageRuby

last.fm

Rails Api & AngularJS SPA

This application is built for demo purposes which consumes LastFM Api and provide functionality to search artists and their top tracks, albums etc.

Authentication

It uses devise-token-auth gem on server side and ng-token-auth on client side for authentication.

Other libraries used-

Running locally

git clone https://github.com/vaibhavkhl/last.fm.git

then install both the apps -

#Installing Client app
$ cd client
$ npm install && bower install 
$ grunt serve
```
````ruby
#Installing Server app
$ cd server
$ bundle install
$ bundle exec rake db:create && bundle exec rake db:migrate
$ rails s
```
#### Testing

server specs
```
$ cd server
$ bundle exce rspec
```
client specs
```
$ cd client
$ grunt test
```