DPlex is an inverted index word search application. It's an application that help you index books and search through indexed books. It is easy to use and free for anyone who cares to use it. DPlex allows users to rapidly index documents in a JSON format of the form below and search through all indexed document to view the words contained in each documents.
- Allow upload of json files of the format below
[
{
"title": "This is a sample title",
"text": "And this is a sample text"
}
]
- Indexing of uploaded files
- Searching of each indexed files and all indexed files
The application can be accessed on heroku via https://dplex-staging.herokuapp.com. It can also be used locally by following the steps below
-
Clone the repository
git clone https://github.com/andela-aonifade/dplex.git
-
Move into the repository directory
cd dplex
-
Run
npm install
to install all the dependencies. The application is build on Nodejsnpm install
- gulp
- coveralls (test coverage reporting)
- karma (test)
- eslint (code style)
- jasmine-core
-
Start the application by executing the command below
npm start
orgulp
-
To run tests, you can run the command below
npm test
orgulp lint
- The application can not be distinguished between plural and singular words. It also does not distinguish between the past tense form of a verb. It does not identify synonyms and sees numbers as string