Skip to content

sdmdg/Harmoniq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

271 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎧 Harmoniq β€” AI-Driven Music Recommendation & Streaming Platform

Harmoniq is a modern music streaming web application that intelligently recommends songs using AI-based audio analysis.
It features personalized radio stations, user playlists and an elegant Vue-based interface for seamless interaction.


πŸš€ Features

🌟 User Experience

  • Beautiful, responsive UI built with Vue 3 + TailwindCSS
  • Smooth animations and transitions across components
  • Personalized homepage with:
    • Recently played tracks
    • Quick picks
    • Recommended albums
    • New releases
    • Favorite artists

🧠 AI-Powered Recommendations

  • Song similarity determined by cosine similarity of audio feature embeddings
  • Smart radio functionality generates playlists based on currently playing songs
  • Tracks classified by genre and mood via deep learning models

πŸ’Ύ Backend

  • Express.js + PostgreSQL architecture
  • RESTful API for music data, playlists and user profiles
  • Secure JWT-based authentication system

πŸ–₯️ Admin Tools

  • User, Artist, Song management
  • Album publishing and visibility management
  • Artist verification and track analytics dashboard

πŸ› οΈ Tech Stack

Layer Technology
Frontend Vue 3, Pinia, TailwindCSS
Backend Node.js (Express.js)
Database PostgreSQL
AI/ML TensorFlow / Librosa (Feature Extraction)

βš™οΈ Installation & Setup

1️⃣ Clone the repository

git clone https://github.com/sdmdg/Harmoniq
cd harmoniq

πŸš€ 2️⃣ Install Dependencies

πŸ–₯️ Frontend

cd frontend
npm install

βš™οΈ Backend (Main Server)

cd backend/src
npm install

πŸ’Ύ Backend (File Server)

cd backend/file_server
npm install

🧠 Backend (AI Module)

πŸͺŸ Windows
cd backend/ai_module
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
🐧 Linux / macOS
cd backend/ai_module
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

βš™οΈ 3️⃣ Configure Environment Variables

🌐 Frontend (frontend/.env)

Create a .env file inside the frontend directory and add:

VITE_FILE_SERVER=http://localhost:3000
VITE_BACKEND_SERVER=http://localhost:5000

πŸ”’ Backend Server (backend/src/.env)

Create another .env file inside backend/src:

JWT_SECRET=your-secret-key
PORT=5000

PGUSER=your_db_user
PGHOST=your_db_host
PGDATABASE=your_db_name
PGPASSWORD=your_db_password
PGPORT=5432

VITE_FILE_SERVER=http://localhost:3001
VITE_SERVER=http://localhost:80

MAIL_APP_PWD=
MAIL_APP_EMAIL=
MAIL_APP_FILE_SERVER_PUBLIC=

▢️ 4️⃣ Run the Application

🎨 Frontend

cd frontend
npm run dev

βš™οΈ Backend Server

cd backend/src
npm run dev

πŸ’Ύ Backend File Server

cd backend/file_server
npm run dev

🧠 Backend AI Module

πŸͺŸ Windows
cd backend/ai_module
venv\Scripts\activate
python main.py
🐧 Linux / macOS
cd backend/ai_module
source venv/bin/activate
python3 main.py

🌍 Access the App

Once all servers are running, open your browser and go to:

πŸ‘‰ http://localhost:5173

You’ll now have the full Harmoniq system running β€” frontend, backend, AI module and file server β€” working together 🎧πŸ”₯


πŸ“œ License

MIT License β€” Developed by Team Harmoniq
University of Moratuwa β€” Department of Computer Science and Engineering


πŸ‘₯ Team


🎢 β€œLet the music flow β€” smartly, beautifully, and personally.”

About

AI-Driven Music Genre and Mood Classification system

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors