Giter Site home page Giter Site logo

react-ssr's Introduction

UNIVERSAL RECOMMENDER SYSTEM

React SSR application featuring Mahout


Build & deploy

✅ Webpack production build (./webpack.production.config.js)
✅ Optimize CSS assets
✅ Hot reload components
✅ Hot reload CSS
✅ Hot reload reducers

Backend API

✅ Setup Express server (./api/server.js)
✅ Redirect HTTP to HTTPS
✅ Redirect to www
✅ Setup ORM
✅ Use renderToStaticNodeStream for DOM streaming (./app/serverMiddleware.js)
✅ Manually create Head metadata without side-effects

Frontend APP

✅ Setup Redux actions (./app/modules/article/articleActions.js)
✅ Setup Redux reducers (./app/modules/article/articleReducers.js)
✅ Setup Axios ressources (./app/modules/article/articleResources.js)
✅ Cancel pending Axios request on navigation
✅ Debounce Placeholder Component while fetching data for navigation (./app/views/Common/Layout.js)
✅ Handle Head metadata changes on-the-fly
✅ Debug Bootstrap columns, metadata, page line-height and height, responsiveness

Admin Backoffice

✅ Fetch and build Database (1.5M+ articles)
✅ Fetch and resize / convert pictures (10,000+ assets)
⏳ Interface - WIP

Machine Learning recommendations

✅ Article-to-article recommendation based on tags (10M+ recommendations)
✅ Article-to-article recommendation based on users rating
✅ User-to-article recommendation based on users rating
✅ User-to-user recommendation based on users rating

For data see :

./bo/mahout/data/movies.csv
./bo/mahout/data/ratings.csv
./bo/mahout/data/tags.csv

Scripts here :

./bo/mahout/product_to_product_by_collaborative_filtering.sh (users ratings in common)
./bo/mahout/product_to_product_by_tag_cooccurrence.sh (articles tags in common)
./bo/mahout/user_to_product_by_matrix_factorization.sh
./bo/mahout/user_to_user_by_collaborative_filtering.sh

Results :

./bo/mahout/productToProductSim.txt
./bo/mahout/productToProductSimByTags.txt
./bo/mahout/userToProductSim.txt
./bo/mahout/userToUserSim.txt

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.