News for hackers. Stuff that matters.
Re:WalmartLabs open sources the application platform that po... by simlevesque on Monday October 03, 2016 @04:33PM (#12631077)
I use Hapi.JS everyday and it's a bliss. Will check this out.
Re:WalmartLabs open sources the application platform that po... by igravious on Monday October 03, 2016 @05:11PM (#12631360)
(Seems Hapi.js is built in?)

http://www.electrode.io/docs/what_is_electrode.html#features

Electrode Boilerplate comes fully loaded with the best technologies available:

    • React is an awesome JavaScript library for building user interfaces, created by Facebook.

    • Redux a predictable state container for JavaScript apps. #game-changer.

    • React Router is a powerful routing library built on top of React.

    • CSS Modules a CSS file in which all class names and animation names are scoped locally by default. Fixes the problem of the global scope in CSS. #winning

    • Universal rendering built in.

    • Webpack a powerful module bundler.

    • Webpack Isomorphic Loader a powerful tool that makes NodeJS require understand files such as images for SSR.

    • Babel transpiles ES6 + 7.

    • ESLint a pluggable linting utility for Javascript.

    • Mocha a feature-rich Javascript testing framework.

    • Enzyme a Javascript testing utility for React, created by airbnb.

    • TravisCI a continuous integration service to build and test software projects.

    • Gulp a Javascript build tool that lets us automate tasks.

    • Yeoman a Scaffolding tool for modern webapps.

    • History a Javascript library for managing session history.

    • Bluebird a great Javascript promise library.

    • Electrode Confippet Confippet is a versatile and flexible utility for managing configurations of Node.js applications.

    • Electrode JWT CSRF Cross-Site Request Forgery (CSRF) protection with JWT.

    • Electrode-Redux-Router-Engine An Electrode routing and rendering engine using react-router and redux.

    • Component Caching Optimize React SSR with profiling and component caching.

    • Electrode-Server A configurable web server using Hapi.js on top of Node.js.

    • Electrify Tool for analyzing the module tree of webpack projects.

    • Electrode-Docgen A custom metadata extractor for the Electrode framework, automates component documentation.
Re:WalmartLabs open sources the application platform that po... by alexgrigoryan on Monday October 03, 2016 @06:23PM (#12631863)
That is correct, but please take a look at my other comment that explains where we are going with the hard tie to Hapi.
Re:WalmartLabs open sources the application platform that po... by alexgrigoryan on Monday October 03, 2016 @06:22PM (#12631858)
Yup, we are big fans of Hapi.js and that's what we use internally for walmart.com, but one of our goals in October is to disconnect the tieing of Electrode and Hapi.js - that way you can use whatever web framework you want with Electrode. Internally, we will continue to use Hapi though.
Re:WalmartLabs open sources the application platform that po... by jazoom on Tuesday October 04, 2016 @10:39PM (#12641224)
That is great to hear. I much prefer Express to Hapi, and I already have extensive APIs built on Express. I'm certainly not alone in this.
Re:WalmartLabs open sources the application platform that po... by alexgrigoryan on Tuesday October 04, 2016 @10:43PM (#12641235)
Yup! People have their preferences! We are working on it this month.

Until then, please check out Electrode Modules, they are independent of Hapi or Electrode Core:

http://www.electrode.io/docs/stand_alone_modules.html

Re:WalmartLabs open sources the application platform that po... by jazoom on Tuesday October 04, 2016 @11:18PM (#12641316)
So good. This looks like a great platform. Great work!
Re:WalmartLabs open sources the application platform that po... by dahdum on Monday October 03, 2016 @05:07PM (#12631328)
Looks like it's based off Hapi for the server component too. Hapi has been a dream to use, and this looks pretty well documented too.