Thanks to visit codestin.com
Credit goes to github.com

Skip to content

jimobrien/productsystem

Repository files navigation

User Stories

  • I want to view a list of products.
  • I want to view a single product.
  • I want to comment on a product.
  • I want to view other comments when I view a product.
  • I want to create a product with a name, description, and price (assume USD).
  • Communicate with HTTP to a backend. (Note: can be mocked for this exercise - use ngMockE2E and $httpBackend)
  • Structure your code sanely. Use directives, services, controllers, etc. where appropriate.

Bonus

  • Build the backend using node.js - if you use loopback.io or another set of CRUD generators, it should be a breeze.
  • Persist the product/comment data to an actual database. (You could just store the data in memory for this exercise)
    • used angular-fullstack instead.

Architecture Decisions

  • I went with yeoman and angular-fullstack to scaffold out as much as possible. Given the time constraint, it made sense to avoid writing as much boilerplate as possible. I'm not a huge fan of the project structure that the angular-fullstack generator enforces (this is better imo) but it was a compromise I made for agility.

Running the project

  • Clone the repo locally
  • npm install
  • bower install
  • Start mongo (mongod)
  • grunt serve (might need --force as I did)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published