Skip to content

Workshop and example of architecture with testable, maintainable, decoupled components written in ES6

License

Notifications You must be signed in to change notification settings

barbarosa/ECMAScript6_architecture

Repository files navigation

EcmaScript6_architecture

Build Status

alt system_overview

Workshop and example of architecture with testable, maintainable, decoupled components written in ES6.

Can be used as a starter for an ecommerce client app.

Presentation: http://slides.com/andreipreda/js-architecture-workshop

Content

  • Basic shopping cart application writen in JavaScript ES6 that uses React and Baobab although the architecture described can be framework independent

  • Unit tests with example testing a React component using jsdom and cheerio on mocha

  • Documented code example

Install, run and test

Assuming you have node.js, npm, gulp & mocha (globally installed), from the project directory run:

From the project directory:

npm install

npm test

gulp compiled

gulp webserver

Docs

Build docs using esdoc

alt docs_screenshot

From the project directory:

npm install -g esdoc

esdoc -c esdoc.json

open ./esdoc/index.html

Licence

MIT

About

Workshop and example of architecture with testable, maintainable, decoupled components written in ES6

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published