Skip to content

TuneHUB is a web based application for music streaming and management platform using Spring Boot, MySQL, HTML, CSS, and Thymeleaf. The platform enables users to register, log in, and access personalized dashboards based on their account roles. Users can browse, search, and listen to a collection of songs. The platform integrates a payment gateway.

Notifications You must be signed in to change notification settings

shasidhar7/TuneHUB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

TuneHUB 🎵

TuneHUB is a web-based music platform that offers seamless music experiences for users. It supports user registration, song management, playlist creation, and premium features through Razorpay integration.


Features

  • User Authentication: Secure login and registration for users.
  • Song Management: Add, view, and play songs.
  • Playlist Creation: Users can create and manage playlists.
  • Premium Subscription: Razorpay integration for premium user features.
  • Role-Based Access: Admins can manage songs and playlists, while customers enjoy music streaming.

Technologies Used

  • Frontend:

    • HTML, CSS, Thymeleaf
  • Backend:

    • Java (Spring Boot Framework)
    • Hibernate ORM
  • Database:

    • MySQL
  • Payment Gateway:

    • Razorpay

Project Structure

src  
│
├── main  
│   ├── java  
│   │   └── com.project.tunehub  
│   │       ├── controller          # Controllers for handling requests  
│   │       ├── entity              # Entities representing database models  
│   │       ├── repository          # Repository interfaces for DB operations  
│   │       └── service             # Business logic implementation  
│   ├── resources  
│   │   ├── templates               # Thymeleaf templates (HTML files)  
│   │   └── application.properties  # Configuration files  
│   └── static                      # CSS, JS, and static files  
│  
├── test                            # Test cases  
│
└── pom.xml                         # Maven dependencies  


Setup Instructions

Prerequisites

  • Java Development Kit (JDK) 8 or higher
  • Maven
  • MySQL (Version 5.7.20)
  • Razorpay account for payment gateway setup

Steps to Run the Project

  1. Clone the repository:
    git clone https://github.com/shasidhar7/TuneHUB.git
    cd TuneHUB
    
  2. Configure the database in application.properties:
    spring.datasource.url=jdbc:mysql://localhost:3306/tunehub
    spring.datasource.username=<your_db_username>
    spring.datasource.password=<your_db_password>
     
  3. Install dependencies:
      mvn clean install
  4. Run the application:
      mvn spring-boot:run
  5. Access the application:

Razorpay Integration

Steps to Set Up Razorpay:

  1. Create an account at Razorpay.
  2. Generate API keys (Test and Live keys).
  3. Replace placeholders in PaymentController:
  RazorpayClient razorpay = new RazorpayClient("rzp_test_xxx", "your_secret_key");

About

TuneHUB is a web based application for music streaming and management platform using Spring Boot, MySQL, HTML, CSS, and Thymeleaf. The platform enables users to register, log in, and access personalized dashboards based on their account roles. Users can browse, search, and listen to a collection of songs. The platform integrates a payment gateway.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published