A modern web-based music player application built with React and Node.js.
- Navigate to the client directory:
cd client - Install dependencies:
npm install
- Start the development server:
npm run dev
- Open your browser and go to URL_ADDRESS:5173 to view the application.
-
Navigate to the server directory:
cd server -
Install dependencies:
npm install
-
Start the server:
npm start
-
The server will run on URL_ADDRESS:5000.
music-app/ ├── client/ # Frontend React application │ ├── src/ │ │ ├── components/ # React components │ │ ├── styles/ # CSS modules │ │ ├── hooks/ # Custom React hooks │ │ └── utils/ # Helper functions │ ├── public/ # Static files │ └── .env # Frontend environment variables ├── server/ # Backend Node.js application │ ├── controllers/ # Request handlers │ ├── models/ # Database schemas │ ├── routes/ # API routes │ ├── middleware/ # Custom middleware │ ├── utils/ # Helper functions │ ├── uploads/ # Music file storage │ └── .env # Backend environment variables └── README.md
- 🎵 Music playback with play, pause, skip controls
- 🔀 Shuffle and repeat modes
- 🎚️ Volume control and progress bar
- 📱 Responsive design
- ⚡ Fast and modern UI
- 🎨 Clean, minimalist interface
- React (Vite)
- Modern JavaScript
- CSS3 with CSS Modules
- Node.js
- Express
- MongoDB with Mongoose
- File system management
GET /api/songs- Fetch all songsPOST /api/upload- Upload new song