Advanced Express Web Application Development, Chapter 4
=======

This repository contains examples created as part of my book published by Packt Publishing; Advanced Express Web Application Development.

#setup


Install node modules:

```
npm install
```

Install bower components:

```
npm install
```

#minify javascript

```
grunt uglify
```

#minify css
```
grunt cssmin
```

#compile handlebar templates
```
grunt handlebars
```

#mongo

run mongo

```
mongod
```


#tests

In order to run the tests

```
grunt test

```

#code coverage

In order to run code coverage

```
grunt coverage

```

#run application

In order to start the application

```
npm start
```

#view application

Now visit:

```
http://127.0.0.1:3000/heartbeat
```