Skip to content

Charlie-Brownie85/vue-spotifake

Repository files navigation

SPOTIFAKE App

Vue 3 music search app consuming free Spotify API. It retrieves results for Artists, Albums and Tracks categories.

It also displays detailed info for each individual item.

note: It DOES NOT have a music player nor PLAYS any song however.

🚩 Instalation

  1. Clone the repository in a folder and install it and its dependencies
yarn

or

npm install
  1. Create an env file in the project's root folder. Add the following variables:
VITE_SPOTIFY_CLIENT_ID=[your_spotify_client_id]
VITE_SPOTIFY_CLIENT_SECRET=[your_spotify_client_secret]
VITE_SPOTIFY_AUTH_URL=https://accounts.spotify.com/api/token
VITE_SPOTIFY_BASE_API_URL=https://api.spotify.com/v1
  1. Follow the steps in Spotify's Developers Documentation to obtain your Web API credentials and replace them in the env file above.
  2. Run the app with yarn dev or npm run dev

🤖 Main technologies applied

This project has been developed using:

🗝️ Key dev features

Some of the features the app accomplishes and DevEx worth to mention:

  • Infinite scrolling implementation in the category results view using @vueuse/core's useInfiniteScroll
  • Usage of async components with <Suspense>
  • Dark/Light theming with tailwind and @vueuse/core
  • Language selection and storage of these settings using localStorage
  • Implemented skeletons as placeholder while async components load/ fetch data
  • Dynamically injecting SVG inline with vite-svg-loader and some custom component
  • Auto-import of components with unplugin-vue-components
  • Enforcing commit standard with husky and @commitlint
  • Ensuring all unit tests pass before pushing any git branch with husky and a pre-push git hook.

About

Small Vue 3 app consuming Spotify API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published