
# Inverted Index
> Creates inverted index object that takes a JSON array of text objects and creates an index from the array. The index allows a user to search for text blocks in the array that contain a specified collection of words.

## Installation
1. Download files using: ```$git clone https://github.com/andela-jkanyua/cp1-inverted-index```
2. Install Node modules by running ```$npm install```

## Usage
1. Run express server by typing ```$node server.js```
2. Navigate to ```http://localhost:8080/``` on your browser to create and index on the frontend interface

## Running Tests
1. Run tests by typing ```$gulp tests``` on project root
2. Alternatively tell jasmine to run tests for you by tying ```$jasmine```

## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request 



![Heroku](https://heroku-badge.herokuapp.com/?app=cp1-inverted-index

# Inverted Index
> Creates inverted index object that takes a JSON array of text objects and creates an index from the array. The index allows a user to search for text blocks in the array that contain a specified collection of words.

## Installation
1. Download files using: ```$git clone https://github.com/andela-jkanyua/cp1-inverted-index```
2. Install Node modules by running ```$npm install```

## Usage
1. Run express server by typing ```$node server.js```
2. Navigate to ```http://localhost:8080/``` on your browser to create and index on the frontend interface

## Running Tests
1. Run tests by typing ```$gulp tests``` on project root
2. Alternatively tell jasmine to run tests for you by tying ```$jasmine```

## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request 



Add heroku badge to readMe
Add heroku badge to readMe
