Git Product home page Git Product logo

localradio's People

Contributors

etiaro avatar komoszek avatar mikolajjuda avatar pangolingila avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

localradio's Issues

Linter

Add Linter and apply it to the whole project

Deleted songs weird behavior in history

Deleted songs are deleted from songs table but not from history table, which causes some problems. Possible solutions: delete history entries(kind of censorship for me) or leave song in songs table but add some DELETED column

Song edit window

Add song edit window, also visible while adding/uploading song

Front end restructurization

I recommend rewriting front end into something more readable and comfortable. E.g. use Next.js with redux

Project restructurization

Now the project structure is causing some problems with dependencies(project inside other project).
I think we should move to someting like:

./frontend/
./backend/
./start.js
./dev.js
./test.js
./package.json -> just for scripts(start,dev,test,lint)

Playlist overwriting

You can overwrite playlist by sending post reqest directly to api, not by frontend.

Example:
run this code replacing ytid and date with some valid data

import requests
import json
a = "http://158.75.60.75/api/player/playlist/"
x = requests.post(a, headers = {'Content-Type': 'application/json'}, data=json.dumps({'entry': {'ytid':'valid_ytid', 'date':'valid_date_no_quotes'}}))

Fix request system

For some reason a year ago, when I was writing this system, I didn't know that there exists more request types than POST and GET... Well, we should move to use all of them to make api more clear.

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.