Giter Club home page Giter Club logo

minniebooks's People

Contributors

adelacorbeanu avatar andlft avatar qmpzlawasd avatar tezkerek avatar

Watchers

 avatar

Forkers

andlft qmpzlawasd

minniebooks's Issues

Fix CSS

  • Fix wrong usage of viewport units
  • #68
  • Sans-serif font family

Feed on frontend

A page to view recent actions of friends:

  • recommendations
  • progress updates
  • posted reviews

Recommendation API

The routes are auth-only.

  • List recommendations for the current user (GET /book-recommendations/)
  • Create a recommendation for a book, to another user
    • POST /book-recommendations/ {"book": <book_id>, "receiver": <user_id>
    • The sender is set to the current user
  • (optional) Delete recommendation by id (DELETE /book-recommendations/{id})

Routes to retrieve feed

Complement to #60

Two ways to do this:

  1. Make multiple requests from the client and merge the results.
  2. Have a /feed/ route that returns everything the client needs at once.

Option 1

We already have /book-recommendations/, though unsorted.
We would need a route for reviews posted by friends and a route for progress updates posted by friends, sorted by most recent.

Option 2

How would serializers handle this? Serialize each entity with its corresponding serializer and place them in a heterogeneous list?

We could have a {Entity}FeedSerializer for each entity.

Response could look something like:

[
  {"type": "book-recommendation", "sender": {/* nested user */}, "message": "...", "book": {/* nested book */},
  {"type": "progress-update", ...},
  {"type": "review", ...}
]

Auth system

  • Send credentials and store token
  • Auth guard

Friend selector for book recommendation

When the "Recommend book" button is pressed on the book detail page, an UI element should appear that allows the user to select someone from their friend list.

Book filtering

  • Published before/after year
  • Published by a list of publishers
  • Title contains given string
  • Minimum rating

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.