A backend for todo applicaiton built by vert.x.
git clone https://github.com/michalyao/Vtodo.git
cd Vtodo
./gradlew
cd build/libs
# need redis service. see config/config.json for detail.
java -jar vtodo-fat.jar
Open the browser and test the api.
Or import the vtodo.yaml to Postman.
Remember to replace the host in the yaml file
See vtodo.yaml
docker build -t "michalix/vtodo" .
docker pull michalix/vtodo # use redis default config.
## start redis service
docker run -p 6379:6379 --name redis -d redis
## link the container
docker run -p 8888:8888 --link redis:db -name vtodo -d michalix/vtodo