developerworks / vertx-qrcode-service

An example of how to use vertx service proxy/factory to create a qrcode service, you can pass in a text as argument and get back the qrcode image(filepath or dataurl)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run it

I run this example in ubuntu 16.04, install deps with following command lines.

apt-get install -y python-software-properties software-properties-common
add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install oracle-java9-installer
aptitude install -y maven

git clone https://github.com/developerworks/vertx-qrcode-service.git
cd vertx-qrcode-service
mvn compile
./redeploy.sh

You can package a fat jar and run it:

mvn clean package
java -jar ./target/vertx-qrcode-service-20171106-fat.jar

About

An example of how to use vertx service proxy/factory to create a qrcode service, you can pass in a text as argument and get back the qrcode image(filepath or dataurl)


Languages

Language:JavaScript 54.2%Language:Java 38.0%Language:HTML 5.1%Language:Shell 1.6%Language:Batchfile 1.1%