Coder Social home page Coder Social logo

angularstories's Introduction

angularStories

AngularStories is my first Angular project without stabilisers. It is a responsive retail shop that was designed to be able to read an API of clothes, interpret the data, and then satisfy the following user stories:

  • = Done
  • As a user I can add a product to my shopping list
  • As a user I can remove a product from my shopping cart
  • As a user I can view the total price for my products in my shopping cart
  • As a user I can apply a voucher to my shopping cart
  • As a user I can view the total price for the products in my shopping cart with discounts applied
  • As a user I am alerted when I apply an invalid voucher to my shopping cart

How to Run

How to Test

  • Unit: npm test
  • Feature: protractor test/protractor-conf.js

Technologies

  • Angular for API calls and MVC
  • E2E testing with Protractor
  • Unit testing with Karma
  • Bootstrap

What I Learnt

To complete this project I had to get to grips with Angular. I tried to follow the Angular tutorial on the website but the jargon on the site proved difficult to penetrate. For the first few days of the project I used the following resources in this order:

What Needs Improvement

  • = Done
  • [] Seperate voucher controller from main controller
  • [] Refactor methods in voucher controller
  • [] DRY out feature tests
  • [] Fix bug where discounted voucher price does not update if you return to the shop, add an item, and go back to the checkout
  • [] Improve responsive design of the application
  • [] Add IE 8 support

angularstories's People

Contributors

jacobmitchinson avatar

Watchers

James Cloos avatar  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.