Skip to content

libasoles/spotify-exercise

Repository files navigation

What is it?

It's a demo project using Spotify API.

Stack

  • React 16.8 w/hooks
  • typescript
  • prettier + eslint
  • modular css (and flex, no framework)

Features

  • Masonry layout
  • Debounced search
  • Real audio (html5)

Running on node 10.15

screenshot

Credentials

You will need a Bearer accessToken to run the demo. Set it in config/index.ts

This is because the demo doesn't include an authentication process.

And of course, in real life this token would be provided by a server side layer, but there's no backend in this demo. And I'm actually calling the API through a public proxy.

How to run

Install packages and run as usual:

yarn install
yarn start

However, you could have issues with node or yarn version. So, alternatively, run with Docker.

docker-compose build
docker-compose up -d
docker-compose exec spotifive yarn start

Finally docker-compose down

Demos

Demo

Demo

About

Demo project with Spotify API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published