🎵 Powering a modern music streaming experience through scalable backend architecture.
🚧 Status: Currently under active development.
A RESTful backend API for a Spotify-like music streaming application built using Node.js, Express.js, and MongoDB.
This project manages authentication, song uploads, and music data for a streaming platform.
- 🔐 User Authentication (Register & Login)
- 🎵 Upload and manage songs
- 📂 File upload handling
- 📡 RESTful API architecture
- 🗄 MongoDB database integration
- ⚙️ Environment-based configuration
Spotify-Clone-Backend
│
├── src
│ ├── controllers
│ ├── models
│ ├── routes
│ ├── middleware
│ └── config
│
├── uploads
├── server.js
├── package.json
└── README.md
git clone https://github.com/Balia077/Spotify-Clone-Backend.gitcd Spotify-Clone-Backendnpm installCreate a .env file in the root directory.
Example:
PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key
npm run dev
npm start
Server runs at:
http://localhost:5000
POST /api/auth/register
POST /api/auth/login
GET /api/songs
POST /api/songs/upload
GET /api/songs/:id
DELETE /api/songs/:id
- 🎧 Playlist creation
- ❤️ Like / favorite songs
- 🔎 Search functionality
- ☁️ Cloud storage integration
- 📊 Pagination & filtering
- 🎵 Music streaming support
Contributions are welcome!
Feel free to fork the repository and submit a pull request.
Balaram Das
GitHub:
https://github.com/Balia077
⭐ If you like this project, consider giving it a star!