GithubHelp home page GithubHelp logo

blue-bird's People

Contributors

deepakrajpal27 avatar hadild avatar murrehman avatar sagar10111996 avatar segullshairbutt avatar trushar07 avatar

Watchers

 avatar  avatar

blue-bird's Issues

Order API is not called on frontend

Order API creates a record in the database of who purchased which media so that in case the seller deletes the media, buyer would still get access to it, so please call it.

Filtering based on price and date of creation should be implemented on the front-end

As per our requirements, user must be able to filter medias based on multiple key items such as media type (which is already implemented), the date on which the media was created, and the cost of the media. The APIs for filtering are ready on the back-end.

Sending a get request to /api/medias?max_cost=10&min_cost=1 will return all medias that cost between 10 and 1 EUR. You don't have to specify both query parameters, for example, if you send a get request to /api/medias?max_cost=10, you will get all medias that cost 10 EUR at max.

Similarly, sending a get request to /api/medias?created_after=1/6/2021&created_before=6/15/2022 will result in getting all medias created between January 6th, 2021 and June 15th 2022.

Deleting and unpublishing media is not implemented

APIs on the backend are ready.

For deletion, send a DELETE request to api/medias/id.

For unpublishing, you have to update the media by sending PUT request to api/medias/id and setting "is_published" to false in the request's body.

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.