jonathancarpena / spotify-records

View your Top Tracks, Top Artists, and Create a Playlist with your Spotify profile

Home Page:https://spotify-records.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spotify Records

A Spotify web application that displays your top tracks/top artists and creates a playlist based on user's Spotify history.

πŸŽ₯ Live Demo

https://spotify-records.com/demo

πŸš€ Objective

To implement OAuth and work with a third-party API.

πŸ“Έ Screenshots

    landing topTracks topArtists createPlaylist demoPage

Tablet/Mobile Design

    tablet-top-tracks mobile-top-tracks

βš™ Technologies

  • React
  • Typescript
  • Next.js
  • Spotify API

πŸ›  Installation and Setup

Clone down this repository. You will need node and npm installed globally on your machine.

$ git clone https://github.com/jonathancarpena/spotify-records.git
  1. Install project folder npm install
  2. Visit https://developer.spotify.com/dashboard/ and create a new app
  3. Input an Application Name and Description
  4. Website input "http://localhost:3000/"
  5. Redirect URIs input "http://localhost:3000/dashboard"
  6. (Important) Open "Users and Access", add a Spotify User (limit is 25)

Environment Variables

To run this project, you will need to add the following environment variables to your .env file inside the server folder.

NEXT_PUBLIC_CLIENT_ID: Retrieve Client ID from your Spotify Dashboard

NEXT_PUBLIC_CLIENT_SECRET: Retrieve Client Secret from your Spotify Dashboard

NEXT_PUBLIC_REDIRECT_URI: Retrieve Redirect URI from your Spotify Dashboard

Scripts

Development mode. Open http://localhost:3000 to view it in the browser.

npm run start

About

View your Top Tracks, Top Artists, and Create a Playlist with your Spotify profile

https://spotify-records.com/


Languages

Language:TypeScript 96.5%Language:JavaScript 1.7%Language:CSS 1.7%