Spotify Playlist Creator is a web application that allows users to create Spotify playlists seamlessly. Built with React, TypeScript, and Chakra UI, this app leverages the Spotify API to provide a smooth and efficient user experience.
- Create Playlists: Easily create new playlists and add your favorite songs.
- Search Tracks: Search for songs using the Spotify API and add them to a playlist.
- Responsive Design: Enjoy a responsive UI built with Chakra UI, ensuring a great experience on both desktop and mobile devices.
- React: A JavaScript library for building user interfaces.
- TypeScript: A strongly typed programming language that builds on JavaScript.
- Chakra UI: A simple, modular, and accessible component library for React.
- Spotify API: An interface for interacting with Spotify's vast music library.
- Vite: A fast build tool and development server.
To run the project locally, follow these steps:
- Clone the repository:
git clone https://github.com/felagund1789/spotify-playlist.git
cd spotify-playlist
- Install dependencies:
npm install
-
Create a Spotify app: Create a new app in your Spotify developer account and declare
http://localhost:5173
as a callback URI. -
Set up environment variables: Copy the
.env.example
file in the root directory, rename the copied file to.env
and replace your Spotify API client ID:
VITE_SPOTIFY_CLIENT_ID=your_client_id
VITE_SPOTIFY_REDIRECT_URI=http://localhost:5173/
- Start the development server:
npm run dev
The app should now be running on http://localhost:5173.
-
Log in to Spotify:
Log in using your Spotify account to access and manage your playlists.
-
Search for tracks:
Use the search bar to find songs on Spotify and add them to your list.
-
Add songs to the list:
As you search for tracks, add them to your list.
-
Save your playlist:
Give your playlist a name and select "Save" to save it to your Spotify account.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch-name
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature-branch-name
- Open a pull request.
If you have any questions or feedback, please feel free to reach out:
- GitHub Issues: Create an issue
- Email: [email protected]
Thank you for using Spotify Playlist Creator! Enjoy your music. 🎵