Skip to content

mikeheft/Recombee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recombee Test Task

Rails API

Production api can be viewed at https://recombee-api.herokuapp.com

Dependencies

Rails 5
Ruby 2.4.1

This Rails api serves up JSON for the React frontend. Available endpoints are as follows:

Get

api/v1/all_movies

Returns paginated list of all Movies provided by Recombee for this test.

Get

/api/v1/:movie_id/recomms

Return list of 5 movies recommended for the movie id. The list is provided by Recombee's cloud recommendation service. The list is populated by Recombee's service which takes into consideration, ratings for each movie.

This application uses Redis to cache the recommendations returning for 3 hours to lessen the number of times the Recombee api is hit.

Usage

Fork and or clone repo

cd Recombee
bundle
rails s

To view json response, use either Postman, cURL, or launch browser http://localhost:3000.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published