Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

42 Commits

Folders and files

Repository files navigation

Headwaves

Running locally

The project has two parts, an API component and a frontend.

API Component

Create a .env file within api/ with the following

SPOTIFY_CLIENT_ID={redacted}
SPOTIFY_CLIENT_SECRET={redacted}
SPOTIFY_REFRESH_TOKEN={redacted}

then

cd api/
npm install #first time only or after updating dependencies
npm run start

Runs locally at http://localhost:7001

Frontend Component

Create a .env file within / with the following

REACT_APP_API_ENDPOINT=http://localhost:7001/currentlyPlaying/

then

npm install #first time only or after updating dependencies
npm run start

Runs locally at http://localhost:3000

Building a static version

The frontend can generate a static version using the following:

npm run build

The files are created in the build/ directory.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages