# quote-web

> Quote for Web

Latest version **1.0.0** (published 2015-07-06) · - license · 0 weekly downloads

## Install

```sh
npm install quote-web
pnpm add quote-web
yarn add quote-web
bun add quote-web
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-07-06 |
| First published | 2015-07-06 |
| Weekly downloads | 0 |
| License | - |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 16 |
| Known vulnerabilities | 0 (+38 in 6 direct dependencies) |
| Install scripts | no |
| Maintainers | rfaering |

## Links

- npm: https://www.npmjs.com/package/quote-web
- Repository: https://github.com/configit/quote
- Issues: https://github.com/configit/quote/issues
- npm.io page: https://npm.io/package/quote-web

## Dependencies (16)

- [intl](https://npm.io/package/intl.md) 0.1.4
- [axios](https://npm.io/package/axios.md) 0.5.4
- [babel](https://npm.io/package/babel.md) 5.4.2
- [react](https://npm.io/package/react.md) 0.13.3
- [jquery](https://npm.io/package/jquery.md) 2.1.4
- [lodash](https://npm.io/package/lodash.md) 3.8.0
- [moment](https://npm.io/package/moment.md) 2.10.3
- [flummox](https://npm.io/package/flummox.md) 3.5.2
- [node-uuid](https://npm.io/package/node-uuid.md) 1.4.3
- [react-dnd](https://npm.io/package/react-dnd.md) 1.1.2
- [babel-core](https://npm.io/package/babel-core.md) 5.4.2
- [classnames](https://npm.io/package/classnames.md) 2.1.1
- [react-intl](https://npm.io/package/react-intl.md) 1.2.0
- [react-router](https://npm.io/package/react-router.md) 0.13.3
- [babel-runtime](https://npm.io/package/babel-runtime.md) 5.4.2
- [ms-signalr-client](https://npm.io/package/ms-signalr-client.md) 2.2.2

## Recent versions

- 1.0.0 (latest) — 2015-07-06

## README

# Quote Web App

Client side Quote web application, backed by a Quote HTTP API.
To set up your development enviornment, follow the steps below.

## Setup

### IIS
Install Raven

Host Quote web API (existing quote app) on IIS at http://localhost/Quote.Web.

  * Enable Windows Auth

Host the `quote-web` folder on IIS as a new site served at port 8008.

  * [Download and install](http://www.iis.net/learn/extensions/url-rewrite-module/using-the-url-rewrite-module) the IIS URL Rewrite Module
  * Enable Windows Auth.
  * Grant IIS User access to files.

### Dependencies
To install external dependencies, run:

```
npm install
```

> Depending on your setup you may need to specify your Visual Studio version to NPM. This is done with the `--msvs_version` option. For example:
>
>`npm install --msvs_version=2012`

#### style-guide
Clone the [style-guide](https://github.com/configit/style-guide) repository. Then, from `quote-web`, run:

```
npm install ../path/to/style-guide/repo
```

During development, rerun `npm install ../path/to/style-guide/repo` to apply any style guide changes to the Quote application.

## Develop
JavaScript code is written in ES6. Stylesheet code is written in Less. This needs to be transformed before it can be read by a browser. Webpack manages this transformation and bundling. When Webpack runs, it creates ES5 JavaScript and CSS files that can be read by a browser. These files are located in the `public/` folder.

During development, we run webpack every time we change a file. To watch for file changes, run:

```
scripts/dev
```

## Test
Tests live in the `tests/` folder and are [jasmine tests](http://jasmine.github.io/2.3/introduction.html). We are using [karma](http://karma-runner.github.io/0.12/index.html) as a test runner.

To execute the tests, run:

```
scripts/test
```

This watches for file changes and reruns the tests on every change.

We test React components with [React.TestUtils](https://facebook.github.io/react/docs/test-utils.html), which provides functions for rendering and inspecting components.

## Publish
Before publishing or adding the application to an installer, you must run a build script to build the JavaScript code in release mode. Building in release mode means minimizing and telling React to run in release mode (This disables PropType checking).

To build in release mode, run:

```
npm run build
```

Running the build script copies the assets needed for deployment into to `public/`. To publish the app, copy `index.html`, `web.config` and the `public/` to an IIS web server.

---
_Source: https://npm.io/package/quote-web · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
