An attempt for an isomorphic appliction using RiotJS 2. Includes:
- ES6 code base using Babel transpiler and Browserify. With ES7 async/await (SystemJS example available in the 'systemjs' branch)
- Shared routing code between client and server using Page.js and Page.JS-Express-Mapper.
- Riot rendering on the server side using riot.render() and a custom template engine.
- Server services powered by Feathers.js with Realtime WebSocket communication using Primus.
- User authentication using Passport.js
- Flux architecture with help of RiotControl - Also used for routing logic.
- waitBeforeRendering - waits for events to occur before rendering the main tag
- ES6 riot tag files without using the *.tag extension.
- Support for Autoprefixer - Gulp tasks extract css from javascript tags, concatinate them and run postprocessing.
- Gulp based tasks for running the node app using [gulp-live-server].
Install
npm install -g gulp
npm install
Run:
gulp