Skip to content

Full Stack Variant Search with Elastic Search api for auto completion

Notifications You must be signed in to change notification settings

upadhyd/VariantSearch

Repository files navigation

Variant Search

Server Side Spring Boot project

Environment Setup for Spring Boot Server Side Project:

  1. Setup Java 1.8 on your system. Java binaries are available here
  2. Download the lastest binary of Maven from here
  3. Setup maven as per the instruction here
  4. Thats all. You are all set. As we are using in memory database H2, no other db setup is required.

Starting up the server

  1. Navigate to (https://github.com/upadhyd/VariantSearch/tree/master/VariantSearchFullStack) on your local.
  2. Execute mvn clean install
  3. Start the server java -jar target/variant-search-rest-service-0.0.1-SNAPSHOT.jar

Api Calls

  1. As we are using in memory h2-database, the data should already be pre-loaded.

  2. Use curl or your favourite clent to make the following call:

    curl -X GET \ http://localhost:8080/api/variant/BRAF \ -H 'Content-Type: application/json'

Client Side React App

Environment Setup For React Web App

  1. Download and install node.js
  2. Navigate to varaiant-search
  3. Install npm packages by executing npm install

Starting up the client server

  1. Execute the command npm start to launch the React webapp.

UI

Autocomplete

AutoComplete

Display Table

Display Table

About

Full Stack Variant Search with Elastic Search api for auto completion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published