Coder Social home page Coder Social logo

quibnmttt / musical-world Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thealoneprogrammer/musical-world

0.0 0.0 0.0 474.21 MB

DBMS Mini Project that basically designed for online music player

JavaScript 1.34% PHP 90.74% CSS 4.04% Hack 3.88%

musical-world's Introduction

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

CREATE TRIGGER `IncrementCount` AFTER INSERT ON `upload_albums`
 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

DELIMITER $$
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))
   NO SQL
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)$$
DELIMITER ;
Admin Panel Username and Password
username:[email protected]
password:sujith123

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

Some Glimps....

screenshot 56

screenshot 57

screenshot 61

musical-world's People

Contributors

thealoneprogrammer avatar imcoffeefreak avatar rinae-del avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.