# courses-app

> ## Development

Latest version **1.1.1** (published 2018-02-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install courses-app
pnpm add courses-app
yarn add courses-app
bun add courses-app
```

## 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.1.1 |
| Published | 2018-02-26 |
| First published | 2018-01-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 19 |
| Unpacked size | 3.2 MB |
| Known vulnerabilities | 0 (+37 in 3 direct dependencies) |
| Install scripts | no |
| Author | Kalle Ilves |
| Maintainers | eero3 |

## Links

- npm: https://www.npmjs.com/package/courses-app
- npm.io page: https://npm.io/package/courses-app

## Dependencies (19)

- [axios](https://npm.io/package/axios.md) 0.15.3
- [react](https://npm.io/package/react.md) 15.4.2
- [redux](https://npm.io/package/redux.md) 3.6.0
- [store](https://npm.io/package/store.md) 1.3.20
- [lodash](https://npm.io/package/lodash.md) 4.17.4
- [moment](https://npm.io/package/moment.md) 2.17.1
- [reselect](https://npm.io/package/reselect.md) 2.5.4
- [bootstrap](https://npm.io/package/bootstrap.md) 4.0.0-alpha.6
- [react-dom](https://npm.io/package/react-dom.md) 15.4.2
- [classnames](https://npm.io/package/classnames.md) 2.2.5
- [reactstrap](https://npm.io/package/reactstrap.md) 4.1.1
- [react-redux](https://npm.io/package/react-redux.md) 5.0.2
- [redux-thunk](https://npm.io/package/redux-thunk.md) 2.2.0
- [react-motion](https://npm.io/package/react-motion.md) 0.4.7
- [node-polyglot](https://npm.io/package/node-polyglot.md) 2.2.2
- [babel-polyfill](https://npm.io/package/babel-polyfill.md) 6.22.0
- [redux-create-reducer](https://npm.io/package/redux-create-reducer.md) 1.1.1
- [react-addons-transition-group](https://npm.io/package/react-addons-transition-group.md) 15.4.2
- [react-addons-css-transition-group](https://npm.io/package/react-addons-css-transition-group.md) 15.4.2

## Recent versions

- 1.1.1 (latest) — 2018-02-26
- 1.1.0 — 2018-02-26
- 1.0.1 — 2018-01-31
- 1.0.0 — 2018-01-31

## README

# Course App

## Development

### Install dependencies

To install the dependencies run:

```
npm install
```

### Run Webpack

Webpack entry file is `src/index.jsx`. The `src` folder has all JavaScript source files. SASS files are in the `src/styles` folder. To run webpack run:

```
npm run-script dev
```

Running the above command will also launch webpack dev server at port `8080`.

### Open browser

And navigate to [http://localhost:8080/webpack-dev-server/index.html](http://localhost:8080/webpack-dev-server/index.html).


## How to use

Course App can be embedded to any web page using the following `div` tag:

```html
<div id="course-app-root" data-organization="ORGANIZATION_CODE"></div>
```

You'll also need to include the following `script` tag at the end of your page's `body` tag:

```html
<script src="URL_COMING_SOON/app.var.js"></script>
```

Course App can also be embedded the following way:
```html
import { CoursesApp } from 'courses-app';

<CoursesApp dataOrganization="ORGANIZATION_CODE" />
```

TODO: Correct url for the script tag.

## Deployment

## Building

To build run:

```
npm run-script build
```

Webpack will output styles:
* app.css

and following different build files inside the `dist` folder:
* app.var.js
* app.commonjs2.js
* app.umd.js
* app.amd.js

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