Git Product home page Git Product logo

klassenzimmer-cart's Introduction

Cart

Create a cart class and corresponding tests.

The cart should save, read and delete simple objects. As storing enging the cart should have at least two of the following options:

  • Cookie
  • Session
  • Local storage
  • Service worker
  • Web SQL

The cart implementation should be designed either as class with inheritance (baseclass, subclasses) or module following functional programming or classic OOP.

The tests should cover all methods.

Articles

Closures are not magic

Writing Next Generation Reusable JavaScript Modules in ECMAScript 6

ES6 Web Components Part 1 โ€“ A Man Without a Framework

Unpacking Webpack+

Usage

Both command can be run parallel and do watch your files for changes.

Start

npm start

Test

npm test

Metrics

npm metrics

Installation

Install webpack:

npm install webpack webpack-dev-server -g

Install KARMA and framework adapters:

npm install -g karma karma-browserify karma-mocha karma-chai karma-chrome-launcher karma-coverage karma-firefox-launcher karma-phantomjs-launcher karma-sauce-launcher karma-sinon

Install mocha, chai, sinon:

npm install -g mocha chai sinon

Install PhantomJS via homebrew (or direct download):

brew update && brew install phantomjs

Install Plato:

In case plato is already installed. Remove Plato and install the ES6 fork.

npm uninstall plato

Install the ES6 fork by deedubs:

npm install -g git+https://github.com/deedubs/es6-plato.git

Copyright

Copyright 2016 Kopfwelt GmbH.

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.