This is a simple MP3 player project built using Node.js, Express, and HTML/CSS/JavaScript. It allows users to upload MP3 files, organize them into albums, and play them through a web interface.
- Upload MP3 files
- Organize songs into albums
- Play songs through a web interface
- Display album covers
- Control playback (play, pause, forward, backward)
- Node.js installed on your machine
-
Clone the repository:
git clone https://github.com/your_username/highschool-mp3-player.git
-
Navigate to the project directory:
cd mp3-player-main
-
Install dependencies:
npm install
-
Start the server:
node server.js
-
Open your web browser and go to
http://localhost:3000
to access the MP3 player interface. -
Click on the "UPLOAD" button to upload your MP3 files.
-
Click on an album to view its songs and play them.
server.js
: The main server file responsible for handling HTTP requests and serving static files.static/
: Directory containing static assets such as HTML, CSS, and client-side JavaScript.static/mp3/
: Directory where uploaded MP3 files are stored.static/img/
: Directory for storing album covers and other images.styles/
: Directory containing CSS stylesheets.playbar.js
: Client-side JavaScript file for controlling the playback bar.ui.js
: Client-side JavaScript file for handling user interface interactions.main.js
: Client-side JavaScript file for initializing the MP3 player interface.
This repository is licensed under the MIT License.