A web application that allows users to view their Spotify profile and listening data using the Spotify Web API.
Before you begin, ensure you have:
http://localhost:3000/callback
Clone the repository:
git clone https://github.com/osallak/spotify-wrapped
cd spotif-wrapped
Install dependencies:
npm install
Create a .env.local
file in the root directory with your Spotify credentials:
NEXT_PUBLIC_SPOTIFY_CLIENT_ID=your_client_id_here
NEXT_PUBLIC_SPOTIFY_CLIENT_SECRET=your_client_secret_here
NEXT_PUBLIC_REDIRECT_URI=http://localhost:3000/callback
Start the development server:
npm run dev
Open http://localhost:3000 in your browser.
To contribute to this project:
Create a feature branch:
git checkout -b feature/your-feature-name
Make your changes and commit:
git commit -m "Add your feature description"
Push to your branch:
git push origin feature/your-feature-name
The following environment variables are required:
NEXT_PUBLIC_SPOTIFY_CLIENT_ID
: Your Spotify application client IDNEXT_PUBLIC_SPOTIFY_CLIENT_SECRET
: Your Spotify application client secretNEXT_PUBLIC_REDIRECT_URI
: The callback URL for Spotify authenticationhttp://localhost:3000/callback
to the Redirect URIs in your application settings.env.local
file[Your chosen license]