Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 935 Bytes

README.md

File metadata and controls

53 lines (37 loc) · 935 Bytes

Vtodo

Build Status

A backend for todo applicaiton built by vert.x.

Build

git clone https://github.com/michalyao/Vtodo.git

cd Vtodo

./gradlew

Run

cd build/libs

# need redis service. see config/config.json for detail.
java -jar vtodo-fat.jar

Test

Open the browser and test the api.

Or import the vtodo.yaml to Postman.

Remember to replace the host in the yaml file

API

See vtodo.yaml

Build With Docker

Build DIY

docker build -t "michalix/vtodo" .

Pull From Dockerhub

docker pull michalix/vtodo # use redis default config.

Run Container

## 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