Skip to content

Starting a monolithic CRUD RESTful Web Service with Vert.x stack and postgreSQL

License

Notifications You must be signed in to change notification settings

BillyYccc/vertx-postgresql-starter

Repository files navigation

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.

Vert.x Version Build Status Codacy Badge license

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.

Database Degisn

database

About

Starting a monolithic CRUD RESTful Web Service with Vert.x stack and postgreSQL

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published