- Setup Java 1.8 on your system. Java binaries are available here
- Download the lastest binary of Maven from here
- Setup maven as per the instruction here
- Thats all. You are all set. As we are using in memory database H2, no other db setup is required.
- Navigate to (https://github.com/upadhyd/VariantSearch/tree/master/VariantSearchFullStack) on your local.
- Execute
mvn clean install
- Start the server
java -jar target/variant-search-rest-service-0.0.1-SNAPSHOT.jar
-
As we are using in memory h2-database, the data should already be pre-loaded.
-
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'
- Download and install node.js
- Navigate to varaiant-search
- Install npm packages by executing
npm install
- Execute the command
npm start
to launch the React webapp.