Coder Social home page Coder Social logo

psypersky / cerebral-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hipertracker/cerebral-boilerplate

0.0 2.0 0.0 76 KB

Cerebral with advanced Webpack2, ESLint, Karma tests, code coverage

License: MIT License

JavaScript 90.68% CSS 4.59% HTML 4.74%

cerebral-boilerplate's Introduction

cerebral-boilerplate

This is a new Cerebral boilerplate with advanced Webpack2, ESLint, Karma tests, settings. The Webpack settings was inspired by "Using Webpack for Production JavaScript Applications".

What is Cerebral?

Cerebral was designed to be very modular and composable solution for building very complex web apps in JavaScript. Technically Cerebral is an intelligent controller providing a scalable structure and management of the single, central UI state.

The boilerplate's code example uses stateless React components as UI layer. The state of the whole UI is controlled by the central single model tree and the Cerebral's modules.

Instalation and start

git clone https://github.com/hipertracker/cerebral-boilerplate
cd cerebral-boilerplate
npm setup
npm start

Testing

The boilerplate uses Karma with Chai and Mocha.

npm run watch:test

Building

The build creates 3 bundles, one with app source files, second with vendor files and third for common javascript code. It also uses Webpack 2 with tree-shaking to eliminate duplicated code. Every build is hash stamped to avoid cache issues.

npm run build

Building for production

npm run build:prod

Screencasts

cerebral-boilerplate - communication between pages

IMAGE ALT TEXT

New Cerebral Debugger PREVIEW

IMAGE ALT TEXT

cerebral-boilerplate's People

Contributors

hipertracker avatar

Watchers

James Cloos avatar Void avatar

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.