GithubHelp home page GithubHelp logo

angular-kittens's Introduction

Angular Kittens

http://mherman.org/angular-kittens/#/

angular kittens

Local Setup

  1. Fork/Clone
  2. Install Dependencies
  3. gulp

Stories

Part 1

Given I am on the index (`/#/`) page
When I click "New Kitten" in the navigation bar
Then a form is displayed (on a new route - `/#/new`)
When I enter the name of the kitten
And I enter an image url for the kitten
And I enter a bio for that kitten
When I click the "Create Kitten" button
Then the kitten is listed on the index page (`/#/`)
And the list displays a thumbnail of the kitten image
And the name of the kitten
And the kitten bio
And the number of likes a kitten has

Part 2

Make sure to add a service to store all kittens

When I visit the index (`/#/`) page
And I see a list of kittens
When I click the "View Comments" link for a kitten
Then I am shown all the comments for that kitten (on a new route - `/#/comments/:id`)
When I click the "Add Comment" link for a kitten on the comments (`/#/comments/:id`) page
Then I see a form (on the same page)
And I can input a comment body  
And when I click the "Create Comment" link
Then I can see my comment in the list of comments for that kitten
And I can no longer see the form

Part 3

Given I am on the index page
And I see a list of kittens
When I click the "Like" link for a kitten
Then the number of likes for that kitten is increased by one

Part 4

Given I am on the index page
And I click "Sort by Name"
Then the kittens are displayed in alphabetical order by name
And when I click "Sort by Likes"
Then the kittens are displayed in order of most likes to fewest likes

angular-kittens's People

Contributors

mjhea0 avatar

Stargazers

 avatar  avatar

Watchers

 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.