项目作者: thealoneprogrammer

项目描述 :
DBMS Mini Project that basically designed for online music player
高级语言: PHP
项目地址: git://github.com/thealoneprogrammer/Musical-World.git
创建时间: 2018-12-20T02:15:37Z
项目社区:https://github.com/thealoneprogrammer/Musical-World

开源协议:

下载


Musical-World

Musical World is a web application that basically alow user to ulpoad their own songs and can listen to already uploaded songs and can add their song into favorite list.
This project contains admin side as well as user side.
User has to first register to the portal before uploading songs.
The account verification mechanism have been included in the project to verify user authentication.

create database named “musical_world” at back-end and import the code tables.sql file inside databse folder to get access to database

This is basically my DBMS mini project.
The site basically includes triggers and procedures.
So before running the application create a trigger and a procedure at back-end(xampp or wamp any application).

Code for triggers and procedure are given below.

Trigger code

trigger to keep track of user contributions

  1. CREATE TRIGGER `IncrementCount` AFTER INSERT ON `upload_albums`
  2. FOR EACH ROW update user set user.contributions = user.contributions + 1 where new.singer_id = user.user_id

procedure code

stored procedure to upload songs

  1. DELIMITER $$
  2. CREATE DEFINER=`root`@`localhost` PROCEDURE `uploadsongs`(IN `singer_id` INT(11), IN `song_name` VARCHAR(255), IN `song_format` VARCHAR(255), IN `singer_name` VARCHAR(255), IN `song_image` VARCHAR(255), IN `audio_file` VARCHAR(255))
  3. NO SQL
  4. INSERT INTO upload_albums(`singer_id`,`song_name`,`song_format`,`singer_name`,`song_image`,`audio_file`) VALUES(singer_id,song_name,song_format,singer_name,song_image,audio_file)$$
  5. DELIMITER ;
  1. Admin Panel Username and Password
  2. username:admin@gmail.com
  3. password:sujith123

Note: do not forget to add your email credentials validate.php and activate_email.php file so as to send email notifications

Download project report here

Some Glimps….

screenshot 56

screenshot 57

screenshot 61