Service to help curate Haplotype Frequencies.
mvn clean package
The project is setup to use mysql Docker instance for local development.
cd db
docker-compose up -d
The phpMyAdmin page should be available at http://localhost:9999/
Login with hfcus_user
user and hfcus_user1
as password.
Use docker-compose stop
and docker-compose rm
to stop and remove the db containers.
Start your server as a simple java application
Check your JDK version with java -version
With Java 8:
java -jar target/service-haplotype-frequency-curation-0.0.1.jar
With Java 9:
java --add-modules java.xml.bind -jar target/service-haplotype-frequency-curation-0.0.1.jar
You can view the api documentation in swagger-ui by pointing to http://localhost:8080
See [client/] directory for examples on using it from various languages. Eg. for Perl