BrandonErik-FS / wdv339_spotify-search

0 stars 0 forks source link

Spotify Search - Portfolio 3 Project

Project Overview

This project uses the Spotify Web API to allow users to search for music within Spotify's music library. The project contains a React frontend that provides users with the ability to sign in to the application using OAuth, providing access to their Spotify account. Upon signing in, users will then be able to search for music by Artist, Album, Track Name, etc. All search and OAuth requests are handled by an Express backend API which acts as a middleman between the application frontend and Spotify's web APIs.

Prerequisites

The following programming languages, package managers, services & web browsers are required to run the application.

Getting Started

To get the project up and running make sure that you have all of the required prerequisites listed in the previous section installed on your system. Then follow the steps below:

  1. Copy the .env.dist file and rename it to .env & update the environment variables to your desired settings.
  2. Run npm install to install all dependencies.
  3. Run npm start or npm run dev to start the Express backend server & React frontend.

NPM Scripts Reference

Important Note: In production, the React build is served statically by the backend API so the backend API must be running in order to view the React frontend in the browser.

Production:

Development:

Links & Endpoints