Giter Site home page Giter Site logo

discover-server's People

Watchers

 avatar  avatar  avatar

discover-server's Issues

Remove global variables

There are about 10 global variables in the main file. This should be reduced to improve testability. Removing these global variables will also make the package easier to reason about.

Remove deprecated files

The test_data directory is no longer needed as the functionality it was testing has been moved to another package.

Improve error handling in handlerFuncs

As it stands, any error that bubbles up from imported packages is simple printed before sending an HTTP error back to the client as a response. There should be a better way to handle these errors.

Integrate the refind package

The refind package contains the necessary types and functions for playlist generation. Use the spotify service in conjunction with the main refind package to a playlist generation endpoint.

Remove playlist generation code

Playlist generation code is difficult to read, improve, and maintain. New generation code in a new package will be used instead.

Implement dynamic playlist titles

The current version of this application will always title the generated playlist "The Discover Now Project". This is fine if a user only ever generates one playlist at a time, but I've found this to rarely be the case for me. Shortening the title and appending the date is a straightforward solution but perhaps there is something more creative or helpful that can be implemented.

Review implemented CSRF prevention technique

This project is 8 months old now and I've learned more about CSRF attacks and security in general. The techniques applied in this project should be reviewed before being released to other users.

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.