Awesome
vertx-postgresql-starter
This is a starter to build a monolithic CRUD RESTful Web Service with Vert.x stack and postgreSQL. It leverages Gradle to build and Docker to boost deployment.
Prerequisites
- JDK 8+
- Docker
- Docker-compose
Build
1. Git clone this repo
git clone https://github.com/BillyYccc/vertx-postgresql-starter.git $PROJECT_NAME
2. Go to the directory of the project
cd $PROJECT_NAME
3. Generate a fat jar
./gradlew shadowJar
After a successful build, a fat jar file is generated in directory $PROJECT_NAME/build/libs
Deployment
Just one-key deploy with docker-compose
docker-compose up --build
Project
REST API
The project takes an easy example with an mini library, the REST API specification is here.
Domain Logic
The Domain Logic is organized with Transaction Script.