Coder Social home page Coder Social logo

tastify's People

Contributors

ryandougc avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

tastify's Issues

Keep track of the top 10 tracks and artists for a genre in a user's anaylsis

This feature was removed in development because keeping track of the tracks in a genre was causing a circular structure in JSON, therefore the map couldn't be converted into a valid array.

We want to keep track of the top 10 artists and tracks for each genre so a user can explore their genre and their most popular songs in those genres.

Re-write the logic for comparisons/friendships

After next meeting, we should come to a conclusion on how we want to make comparisons work in the app. The entire friendship logic will need to be changed to represent this, as it currently isn't a viable solution.

Remove "REDIRECT_URL" for the callback.

We should be able to remove the REDIRECT_URL environment variable. This should be automatically generated based on the URI of the incoming request. Just one less thing to worry about when running the app, and potentially having a point of fail.

getLikedTracksService() tests are throwing errors due to de-structuring

console.log
    TypeError: Cannot destructure property 'data' of '(intermediate value)' as it is undefined.
        at C:\Users\Ryan\Programming\tastify\src\services\getLikedTracks.ts:14:21
        at Generator.next (<anonymous>)
        at fulfilled (C:\Users\Ryan\Programming\tastify\src\services\getLikedTracks.ts:5:58)

      at src/services/getLikedTracks.ts:53:17

Include the user's market in their profile and the requests that are made to the Spotify API

As per the Spotify API documentation, requests need to have the market of the user when getting things like tracks. Currently, everything works fine as is, however it would be god to follow the API guidelines and include the market code with each request we make to the Spotify API.

We will need to save the user's market in their profile.
When requesting playlist items, track data, and user's liked tracks, we need to add the market to the request as a query parameter. We can save the market in "res.locals" along with their username.

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.