Giter VIP home page Giter VIP logo

musicvotingserver's Introduction

MusicVotingServer

The application has been developed as a part of HAW CJ1 group project. Participants: Elvin Mammadov(Flutter), Mykhailo Svyrydovych(front-end, back-end), Parisa Ostadzadeh(back-end)

Structure:

  • mvs-spring - contains backend. Written in Java with Spring Boot framework, using Maven for building.
  • MVS-WebApp - contains frontend. Written in JavaScript ES6 with React framework, using Webpack for bundling. In addition this directory contains a directory with mp3 song files.
  • mvs_flutter - mobile native client made with Flutter. Supports both Android and iOs.

Raspberry Pi photo

Music Voting Server - is an application that generates playlists according to collected votes from users and plays music. It runs in a local wi-fi network and can be installed on Raspberry Pi (or any other computer).

Server side is written in Java using Spring Boot framework. On the client side there are React web app and mobile flutter client app available.

ES6ReactJsSpring Boot Fluttersqlite

Blank-Diagram

Http method Endpoint Description
GET api/v1/songs Returns a list of all songs
GET api/v1/pairs Returns a list of songs pairs (for voting)
POST api/v1/vote Accepts list of songs chosen by a user
POST api/v1/songs/upload Accepts mp3 song file
GET api/v1/songs/current Returns currently played song
GET api/v1/songs/mostlyVoted Returns a list of mostly voted songs
GET api/v1/songs/current/stop Stops playing current song
DELETE api/v1/songs/{id} Deletes a song
PUT api/v1/songs/{id} Changes song info
GET api/v1/get-voters-number Returns voters number setting
POST api/v1/songs/set-voters-number Changes voters number setting
GET api/v1/songs/get-playlist-size Returns playlist size setting
POST api/v1/songs/set-playlist-size Changes playlist size setting
GET api/v1/user Returns user info
POST api/v1/register Registers a new user

musicvotingserver's People

Contributors

bardiaalavi-2020 avatar dependabot[bot] avatar elvinmammadov avatar hazletgathigia avatar mykha1l avatar parisaosd 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.