-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from 401-advanced-js/lab27
documentation done
- Loading branch information
Showing
7 changed files
with
2,154 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,42 @@ | ||
|
||
![CF](http://i.imgur.com/7v5ASc8.png) LAB | ||
================================================= | ||
|
||
## Lab27 | ||
|
||
### Author: Spencer Hirata | ||
|
||
### Links and Resources | ||
* [PR](https://github.com/401-advanced-js/lab-27/pull/1) | ||
* Travis | ||
[![Build Status](https://travis-ci.com/401-advanced-js/lab-27.svg?branch=master)](https://travis-ci.com/401-advanced-js/lab-27) | ||
|
||
###UML | ||
[UML](./assets/lab-27.jpg) | ||
### Documentation | ||
* `npm i react-styleguidist` | ||
* `npx styleguidist server` | ||
* Go to this url in your browser after the server fires up | ||
* `http://172.16.12.226:6060/` | ||
|
||
### Components | ||
- Counter | ||
- Header | ||
- Footer | ||
- App | ||
|
||
### Testing | ||
After cloning the repo down | ||
- `npm run test`<br> | ||
|
||
Assertions: | ||
* The header component should have a header tag | ||
* The footer component should have a footer tag | ||
* Counter component: | ||
* The counter should have a button | ||
* On increment click, the button should increment the counter | ||
* On decrement click, the button should decrement the counter | ||
#### Running the app | ||
* `npm start` | ||
|
||
#### UML | ||
|
||
[UML](./assets/lab-27.jpg) -- DIDN'T DO |
Oops, something went wrong.