This is a simple web app that uses the Spotify API to display user's top artists, tracks, and genres.
- Node.js
- Spotify API key
- Spotify API secret
- Clone the repo
git clone https://github.com/mikumino/memory-allocation-simulator.git
- Install NPM packages
npm install
- Create a
.env.local
file in the root directory and add the following:SPOTIFY_CLIENT_ID=YOUR_ID SPOTIFY_CLIENT_SECRET=YOUR_SECRET NEXTAUTH_URL=YOUR_URL
- Ensure the Spotify API redirect URI is set to
http://YOUR_URL/api/auth/callback/spotify
in the Spotify Developer Dashboard - Run the development server
npm run dev