Netflix Top - DEMO
A basic isomorphic app, featuring:
With extra setup (inputs sanitizaton, lab testing, ...)
The final javascript size is around 18Kb (min+gz) containing mainly riot + redux + redux-thunk + isomorphic-fetch + colorchart + app code.
After cloning the repo:
>npm run dev
Which will run concurently the 2 scripts:
>npm run dev-www
>npm run dev-server
The first one starts the Webpack Dev Server and the other starts a nodemon process for the server.
To build the production code, run:
>npm run build-www
And then, to run the server in prod mode:
>npm run start