An open API service indexing awesome lists of open source software.

https://github.com/srph/order-form-react

A take on rstacruz/frontend-exercises, implemented in ReactJS.
https://github.com/srph/order-form-react

Last synced: about 2 months ago
JSON representation

A take on rstacruz/frontend-exercises, implemented in ReactJS.

Awesome Lists containing this project

README

          

![Preview](http://zippy.gfycat.com/FrayedDeafeningGreatdane.gif)

# order-form [![Build Status](https://travis-ci.org/srph/frontend-exercises-order-form-react.svg?branch=master)](https://travis-ci.org/srph/frontend-exercises-order-form-react) [![Author | Shields.io](http://img.shields.io/badge/author-%40srph-blue.svg?style=flat-square)](http://twitter.com/_srph) [![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)

A take on [rstacruz/frontend-exercises](https://github.com/rstacruz/frontend-exercises/tree/master/order-form), implemented in ReactJS.

Please do not refer to this repository for ideas on Best Practices™.

- **I suck on Unit Tests**. I have never tested anything unlike this project.
- The unit tests were poorly written as discussed in [a commit discussion](https://github.com/srph/frontend-exercises-order-form-react/commit/cc65e22df5857bd5aad717ef1afe89a24f2b51da).
- **I am a sucker**. I just suck.

## Demo

A [github page](https://srph.github.io/frontend-exercises-order-form-react) is available.

## Building

The preview is available, and I don't see the need. But if you insist!

#### Requirements

- npm
- node ```v0.10``` (Because Jest ```v0.2.2``` does not support ```>=v0.11```)
- Bower (via ```npm install bower -g```)

### Setup

- Clone to your local machine

```bash
$ git clone https://github.com/srph/frontend-exercises-order-form-react
```

- Install dependencies

```bash
# go to project root folder
$ cd frontend-exercises-order-form-react

$ npm install && bower install
```

### Automation

```bash
$ npm run build # just build the scripts
$ npm run watch # build and watch for file changes
$ npm test # run the test (jest)
```
## Acknowledgement

- [gfycat](http://gfycat.com/FrayedDeafeningGreatdane)
- [facebook/react(ReactJS)](https://github.com/facebook/react)
- [rstacruz/frontend-exercises](https://github.com/rstacruz/frontend-exercises/tree/master/order-form)
- [TWBS 3](https://github.com/twbs/bootstrap)

**frontend-exercises-order-form-react** © 2014+, Kier Borromeo (srph).

> [srph.github.io](http://srph.github.io)  · 
> GitHub [@srph](https://github.com/srph)  · 
> Twitter [@_srph](https://twitter.com/_srph)