A web application for streaming music, built with Node.js and Mongoose.
- User authentication
- Search for songs, playlists, and users
- Create and manage playlists
- Play local and Spotify tracks using Spotify Embed API
- Real-time lyrics display
- Friend system with friend requests
- Artist accounts with song upload capability
- Party mode for collaborative listening
- Node.js (v14 or later)
- MongoDB
- Spotify Developer account (for Spotify API integration)
- Spotify account (for enhanced user experience)
- Clone the repository:
git clone https://github.com/npraveen005/D-Tunes.git
- Install dependencies: npm install
- Start the server: npm start
- Open your browser and navigate to
http://localhost:3000
(or whichever port you've configured).
- Register for an account or log in if you already have one.
- Important: For the best experience, sign in to your Spotify account in the same browser you're using to access the webapp.
- Search for songs, playlists, or users using the search bar.
- Create playlists and add songs to them.
- Play songs by clicking on them in search results or playlists.
- View real-time lyrics while a song is playing.
- Send friend requests to other users and manage your friends list.
- If you're an artist, you can upload your own songs.
- Create or join parties for collaborative listening experiences.
This webapp uses Spotify's Embed API for playing Spotify tracks. The integration allows for:
- Playback of Spotify tracks within the webapp
- Display of track information and album art
- Basic playback controls (play, pause, seek)
For the best experience:
- Sign in to your Spotify account in the same browser you're using for this webapp.
- While the Embed API allows for playback without logging in, being signed in to Spotify can provide a more personalized experience and potentially unlock additional features.
- If you encounter any issues with Spotify playback, try logging out and logging back into your Spotify account.