ryandougc / tastify Goto Github PK
View Code? Open in Web Editor NEWSpotify Music Analyses Tool
Spotify Music Analyses Tool
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.
We need to add the logic to save the genre analysis into the database
Instead of generating a new profile when a user logins in after deleting their profile, a 404 error is returned to say that the user has no data. We need a way to regenerate their account in the event a user deletes their account and wants to start a fresh account.
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.
If we can just use res.redirect instead of res.return, we should be able to seamlessly run this endpoint and have the user comeback to the page with all the required data.
I'm not sure if this violates REST requirements. I'm also not sure if this is even viable as a solution, since it treats the API as part of the application as opposed to juts a typical API.
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.
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.