Coder Social home page Coder Social logo

shelves-server's People

Contributors

abourn avatar johnlawsharrison avatar

Stargazers

 avatar

Watchers

 avatar

shelves-server's Issues

[Idea] Get Featured shelves

  • We already have the 'Featured' flag in the Shelf struct, so this is just set at creation.
  • But, we should have a way to get featured shelves

[Idea] `GET` /v1/shelves/users/{userID}

To return that user's shelves? Right now we just have /v1/shelves/mine which returns the current auth user. Not sure what implications of exposing userIds is right now

Microservice Authentication

Determine which (if any) services absolutely must have authentication before forwarding. I think for now, we can just blanket cover both library and shelves, assuming that everybody has an account

[Idea] Archiving shelves

Not a high priority atm, but we could do it like this:

  • Struct has an "Archived" flag
  • Handlers which are match resource path like /shelves/archives/
  • GET a user's archived shelves

[Reminder] DateLastEdit field of Shelf

If we are essentially doing a "replace" operation for updating shelves, we should remember that the front end needs to pass information about this edit time.

Evaluate nested nature of `Release` struct

In particular, if notes should be nested or not. I think that because we intend for notes to be associated with specific releases that it makes sense to have them nested. Additionally it would eliminate the need to fetch notes for a release after fetching a release. But, worthwhile to dicuss.

[FIX] Duplicates from search

  • Check if the release group id exists in results before adding
  • But, how do we handle cases in which certain releases within a release-group actually have more or less tracks...? For example, M.I.A.

Indexing of fields with empty strings

We should be checking if the field has an empty value before we index it--I think we are probably ok but something good to evaluate. Adding a check if len(prefix) > 0 seemed to break it however.

[FIX] Re: X-User header decoding in Library and Shelves services

For the handlers which check for authentication implicitly by decoding the X-User header, update the error message to reflect the fact that the user is not signed in (as opposed to a 400 status with a message of "error decoding JSON..." like it is now).

Missing 'limit' query parameter bug

Some requests will end up saying 'Could not convert 'limit' param value ' ' to integer', even if the request did not include the limit query

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.