# Frontend

This module was developed using the [Polymer](https://www.polymer-project.org/) library (version 1.x) and [Material Design](https://material.io/) concept. [Polytempl](https://www.npmjs.com/package/polytempl) plugin was used as helper in the development process and [Gulp](https://gulpjs.com/) was used to [build](https://razortheory.gitbook.io/third-party-monitoring-module-documentation/technical-documentation/frontend/build-process) the application.

## Installation

Using git, clone to a local directory:

```bash
$ git clone https://github.com/unicef/etools-tpm.git
```

Assuming that node and npm are already installed, make sure the bower is also installed, if not run:

```bash
$ npm install -g bower
```

Install packages:

```bash
$ npm install
$ bower install
```

This application is a part of [etools-infra](https://github.com/unicef/etools-infra) and runs under a customized setup of the etools apps. After `etools-infra` is installed, the TPM application can be accessed for devs at `http://localhost:8082/tpm/`

## How to run tests

To run tests you can use:

```bash
$ gulp test
```
