A website built using React meant to display your information and allow you to listen to music. Use infotainment to relax, study, or browse. The choice is yours.
- Clone this repository
git clone https://github.com/davido-noowin/infotainment.git - CD into the directory and create a
.envfile in the root folder - Install dependencies via
npm install - Register for a client ID and secret on the Spotify developer dashboard NOTE: You must have a premium Spotify account
- In the Spotify developer dashboard, include the following redirect URIs when prompted:
- In the
.envfile, add the following:
SPOTIFY_CLIENT_ID="my spotify client id"
SPOTIFY_CLIENT_SECRET="my spotify client secret"
-
Run the application by typing
npm run startThis will fire up the backend server for the Spotify API and the UI. -
Select videos to play using the sidebar and login to Spotify to listen to music.
-
Use the built-in Spotify player to listen to your playlists or new songs/albums.
-
Enter zip code for weather updates NOTE: Weather readings only work for US-based zip codes
-
Sit back, relax, and enjoy!
- Figma design
- Spotify Web API documentation
- Spotify Web Playback
- YouTube iFrame API
- Weather (Open-Meteo API)
- Zip Code API
- React - Frontend
- Express JS - Backend
- Vite - Code Bundling & Packaging
