Skip to content

App developed with the API of Spotify, React, Express and Serverless Functions

Notifications You must be signed in to change notification settings

brunogarcia/react-spotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify App

Full stack web app to visualize personalized Spotify data with the help of Node.js, React, Styled Components, and the Spotify Web API.

Following the instructions of the course Build a Spotify Connected App.

Client

  • Build out a professional, responsive user interface with React, React Hooks, React Query, and the popular CSS-in-JS library, Styled Components.
  • Pull in data from the Spotify API using modern ES6 async/await methods and display that data in an engaging way.
  • Use Storybook for building UI components and pages in isolation.
  • Use Mock Service Worker as API mocking library. This library uses Service Worker API to intercept actual requests.
  • Use Zod as TypeScript-first schema validation with static type inference.
  • Use Vercel Serverless Functions to handle the authentication flow.

Run a local instance of the client

⚠️ You should rename the file client/.env.example to client/.env in order to use the client on develop mode.

npm run dev

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Server

  • Apply the basics of REST APIs, HTTP requests, and OAuth.
  • Authorize an app with Spotify.
  • Build a Node server with the Express framework to handle our authentication requests

Run a local instance of the server

⚠️ You should rename the file server/.env.example to server/.env in order to use the server on develop mode.

npm run dev

Runs the server in the development mode on http://localhost:8888.

The server will reload if you make edits.
You will also see any lint errors in the console.