Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.
/ lucidworks-search Public archive

Search application built for the Lucidworks coding challenge

License

Notifications You must be signed in to change notification settings

demelvin/lucidworks-search

Repository files navigation

lucidworks-search - The Lucidworks Coding Challenge

This project is a search application that was built for the Lucidworks Coding challenge. It was built to demonstrate some of the required coding abilities needed to perform well within a position at Lucidworks as well as make use of their newley released Fusion Server 4.0.

The application itself is called Qvino and allows users to search for wine reviews by title, taster, winery, or any.

The project structure is rather common but the JavaScript architecture is based on most of the best practices found witihn the Angular Style Guide. Kaggle is the awesome site used to find the Wine Review Dataset which I imported into the Fusion Server.

Getting Started

To get started you can simply clone the lucidworks-search repository, install its dependencies, and fire up a Fusion Server locally.

Prerequisistes

You need to clone the lucidworks-search (this) repository. You can download git from here.

This project also makes use of Node.js tools to initialize and test lucidworks-search. You must have Node.js and its package manager (npm) installed. You can get them from here.

The latest version of Fusion Server also needs to be installed, started. The Quick Start is an excellent resource for this.

Once started the Qvino application needs to be imported. This is will provide the search results. Find instructions on how to do that here.

Clone lucidworks-search

Clone the lucidworks-search repository using git:

git clone https://github.com/demelvin/lucidworks-search.git
cd lucidworks-search

Install Dependencies

npm install

Setup Fusion

Download, Install, and Setup Fusion by following the Quick Start guide.

Once that is up and running you will need to import the Qvino Fusion application.

Run the Application

The project is preconfigured to run on a simple development web server. The simplest way to start this server is:

npm start

Now open a browser to the app at localhost:8000.

Running Unit Tests

The lucidworks-search app comes preconfigured with unit tests. These are written in Jasmine, which run with the Karma test runner.

To run the unit tests is to use the supplied npm script:

npm test

Resources

Lucidworks

Fusion Server 4.0.0

Fusion Quick Start

AngularJS Style Guide

Webpack

AngularJS

Sass

Kaggle

Wine Review Dataset

Git

Node.js

NPM

Jasmine

Karma