marcosvidolin / it-java-api-skeleton

CI&T IT's default Java project skeleton for Microservices and APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

it-java-api-skeleton

Codacy Badge Build Status

CI&T IT's default Java project skeleton for Microservices and APIs (with basic example)

Prerequisites

  • Java >= 1.8
  • Gradle >= 2
  • Lombok

Stack

  • Spring Boot
  • Spring MVC
  • Spring Data
  • Docker
  • Ditiow

Packages

com.ciandt.skeleton.core

com.ciandt.skeleton.core.domain

com.ciandt.skeleton.core.business

com.ciandt.skeleton.core.exception

com.ciandt.skeleton.core.enumeration

com.ciandt.skeleton.service

com.ciandt.skeleton.repository

com.ciandt.skeleton.util

com.ciandt.skeleton.web.rest.v1

com.ciandt.skeleton.web.rest.v1.resource

com.ciandt.skeleton.web.rest.v1.controller

Profiles

To run the application in a specific profile you must set the argument in VM options:

-Dspring.profiles.active=dev

Run

./gradlew bootRun

Docker

docker build --build-arg profile=<PROFILE> .
docker build --build-arg profile=local .

Arguments:

  • profile (Default = notset)

Dependency Check

Run the following comand and check the report: "build/reports/dependency-check-report.html"

./gradlew dependencyCheckAnalyze --info

Relational Database Pattern

You can find here all the object name pattern to create tables, columns, triggers, functions and others. Please check the documentation.

Contributors

About

CI&T IT's default Java project skeleton for Microservices and APIs

License:MIT License


Languages

Language:Java 99.5%Language:Dockerfile 0.5%