Skip to content

Latest commit

 

History

History
executable file
·
55 lines (36 loc) · 1.55 KB

README.md

File metadata and controls

executable file
·
55 lines (36 loc) · 1.55 KB

Coverage Status Travis Status

Inverted Index

The Inverted Index Application enables you to upload your JSON array files, create an index map of words in to the corresponding JSON document in the array, and enables you to perform search on the words present.

Using the App

When the app is installed, follow the guide below to use InvertedIndex App

  • Click on 'Browse...' to select your JSON file
  • Click on 'Upload File' to upload the selected file
  • Upon successful upload, a 'Create Index' button is shown. Click on it to create the IndexMap
  • Scroll down the page to see the created Index displayed in a tabular format
  • Upload as many JSON files as you desire
  • The list of uploaded files are displayed on the right hand side so you can switch between files

Prerequisites

You should have the following technologies installed to use the app

node

Installing

To clone the repo, run the following command

git clone https://github.com/andela-rakpan/inverted-index

Install the project dependencies

npm install

Running the App

node server

Running the tests

To run the test, run the following command

npm test

Author

  • Raphael I. Akpan