This project is a small music player web app built using the MERN stack (MongoDB, Express, React, Node.js). The app allows users to sign up, sign in, select songs from a library, create playlists, play songs, and resume songs from where they left off.
Deployment Link: Vibe
- Users can sign up using an email, username and password.
- Users can login in to their account using email and password.
- Displays a list of publicly available songs in the song library.
- Users can play songs from this library.
- Users can create, rename and delete their playlists.
- Users can add songs to their playlists.
- Users can play songs.
- Users can resume songs from where they left off.
- Frontend: React
- Backend: Node.js with Express
- Database: MongoDB
- Audio Storage: Supabase Bucket
- Audio Playback: Wavesurfer.js
-
Clone the repository:
git clone https://github.com/PModhe09/Vibe.git cd Vibe
-
Install Node modules
cd frontend npm install cd ../ cd backend npm install
-
Setup backend/.env file as provided below
PORT =
SUPABASE_URL =
MONGODB_URI =
JWT_SECRET =
- Setup frontend/.env files as provided below Use local backend server or deployed backend server Deployed Backend URL = https://vibe-backend-ybmd.onrender.com Local Backend URL = http://localhost:3000
VITE_BACKEND_URL = <Backend URL>
- First start Backend server as below
cd backend
npm start server
- Open a new terminal and start frontend
cd frontend
npm run dev