Giter Site home page Giter Site logo

last-fm-assignment's Introduction

Assignment

This project was an assigment for interview, it is not complete since the time limit was 8 hours.

It has the following functionalities:

  • You can search for the top albums of an artist (you have to click the button though, the input it's not of submit type). This will show you a list of cards that is responsive with the album cover, album name, and a button to go into the album details.
  • There's a component for Album Details that contains a picture of the album cover, artist name, album name, date uploaded into the API (if available), and a list of all of its tracks.
  • At the end of each track, there's a star icon which you can use to add the track into your favorite track list, if that track it's already in the list, then it will remove it from there (there's no visual difference between a track that it's or isn't favorite).
  • At the button of the album details there's also a button to go bak to the home page (it doesn't save the state of the previous component though, you'll have the make a search to view items again).
  • There's also a button to check your favorite track list at the Home Page, which will show you an alert with all the tracks that you have added into your list.

For data management I chose to use localStorage to save the list of favorite tracks, this does not completely persist the list, however you will be able to check your favorite tracks between albums, and even sessions.

Technologies Used

For this project the following technologies were added:

Available Scripts

For the project to run, you need to install the following dependencies in your computer:

  • NodeJS (You need to install version >=15.0.0)
  • Yarn

Once you have both of the above frameworks installed, you have to run the following commands in your terminal, on the root folder of the project:

yarn install
yarn start

Then should be able to get look at the page at your LOCALHOST

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.