Giter Club home page Giter Club logo

recommendations's Introduction

Recommendations

Build Status codecov

Description

The recommendations resource is a representation a product recommendation based on another product. In essence it is just a relationship between two products that "go together" (e.g., radio and batteries, printers and ink, shirts and pants, etc.). It could also recommend based on what other customers have purchased like "customers who bought item A usually buy item B". Recommendations should have a recommendation type like cross-sell, upsell, accessory, etc. This way a product page could request all of the up-sells for a product.

API routes

  • root: HTTP GET /
  • list: HTTP GET /recommendations
  • query: HTTP GET /recommendations?product-id={product_id}&customer-id={customer_id}&recommend-type={recommend_type}
  • read: HTTP GET /recommendations/{id}
  • create: HTTP POST /recommendations
  • update: HTTP PUT /recommendations/{id}
  • delete: HTTP DELETE /recommendations/{id}
  • success: HTTP PUT /recommendations/{id}/success

Application URL: (deployed on IBM Cloud)

visit: https://nyu-recommendation-service-f19.mybluemix.net/

To run the Flask app

vagrant up
vagrant ssh
cd /vagrant
honcho start

then on your own machine, visit: http://localhost:5000/

To send out pull requests

git checkout -b my-branch

(add/modify something)

git add something
git commit -m "add/modify something"

(Tips: save your local changes to a safe place and pray for no merge conflicts would occur before you do the following...)

git checkout master
git pull
git checkout my-branch
git merge master

(fix merge conflicts and git add, git commit again)

git push -u origin my-branch

(go to the PR page and attach your nosetests results in the description, and if there's no test results, the PR shouldn't be approved)

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.