Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/luisgbr1el/trackify

Trackify is a tool that displays user's top 5 most played tracks and artists from the last month in a cool way that you can share with your friends.
https://github.com/luisgbr1el/trackify

express spotify spotify-api spotify-web-api

Last synced: about 2 months ago
JSON representation

Trackify is a tool that displays user's top 5 most played tracks and artists from the last month in a cool way that you can share with your friends.

Awesome Lists containing this project

README

        

# Receiptify

Web application inspired by https://www.instagram.com/albumreceipts/. Generates receipts that list out a user's top tracks in the past month, 6 months, and all time.

The application can be viewed at https://receiptify.herokuapp.com/.

NOTE: This code is admittedly not super clean as I was in quite a time crunch when I originally wrote it and never got the chance to really go back and fix everything, so sorry in advance! Despite this, I am making it public as a few people have asked me about it :) When I have time, I hope to refactor & clean this up though!

## Running the App Locally

This app runs on Node.js. On [its website](http://www.nodejs.org/download/) you can find instructions on how to install it. You can also follow [this gist](https://gist.github.com/isaacs/579814) for a quick and easy way to install Node.js and npm.

Once installed, clone the repository and install its dependencies running:

$ npm install

### Using your own credentials

You will need to register your app and get your own credentials from the Spotify for Developers Dashboard.

To do so, go to [your Spotify for Developers Dashboard](https://beta.developer.spotify.com/dashboard) and create your application. In my own development process, I registered these Redirect URIs:

- http://localhost:3000 (needed for the implicit grant flow)
- http://localhost:3000/callback

Once you have created your app, load the `client_id`, `redirect_uri` and `client_secret` into a `config.js` file.

In order to run the app, open the folder, and run its `app.js` file:

$ cd authorization_code
$ node app.js

Then, open `http://localhost:3000` in a browser.