This is a free music streaming web application built with Next.js and powered by the savan API. The app allows users to search and stream music from a vast collection of songs available on the Saavn platform.
- Search and stream music from vast collection.
- Play, pause, skip, and control the playback of songs.
- Create your own playlists.
- Add songs to your favorite.
- Auto add similar songs to queue.
- Display song details such as title, artist, album, and album artwork.
- Responsive and mobile-friendly design for a great user experience.
- Minimalistic and intuitive user interface.
This is a Next.js project bootstrapped with create-next-app
.
Create env file in root dir.
MONGODB_URL = mongodb URL
DB_NAME = database name
JWT_SECRET = jwt secret
NEXTAUTH_URL= next auth url (http://localhost:3000 or your domain)
GOOGLE_CLIENT_ID = Google client id
GOOGLE_CLIENT_SECRET = Google client secret
MAIL_HOST = mail host (smtp.gmail.com)
MAIL_USER = mail user
MAIL_PASS = mail password
NEXT_PUBLIC_SAAVN_API = "https://saavn.dev" # Saavn API URL create your own API from https://github.com/sumitkolhe/jiosaavn-api
Run the development server:
npm install
npm run dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.js
. The page auto-updates as you edit the file.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.