GithubHelp home page GithubHelp logo

marciopocebon / template-springboot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from torreswoo/template-springboot

0.0 0.0 0.0 524 KB

Torres SpringBoot template project

Home Page: https://torreswoo.github.io/posts/springboot-jolokia/

Java 3.05% CSS 88.29% JavaScript 6.75% HTML 0.45% Groovy 0.84% Dockerfile 0.06% Shell 0.32% Makefile 0.23%

template-springboot's Introduction

Torres SpringBoot Project template

$ make compose.all # start all 
or
$ docker run -it -p 8080:8080 gcr.io/torrestemplate/template-springboot:1.0.0-SNAPSHOT

Start project

  • build, run
$ make compose.all # start all 

$ make mycli
$ make compose
$ ./gradlew build
$ ./gradlew bootrun

Docker & GCP

# 
$ gcloud auth configure-docker
$ PUSH=true ./build_docker_image.sh

# details
$ docker build -t template-springboot:1.0.0-SNAPSHOT .
$ docker tag template-springboot:1.0.0-SNAPSHOT gcr.io/torrestemplate/template-springboot:1.0.0-SNAPSHOT
$ docker push gcr.io/torrestemplate/template-springboot:1.0.0-SNAPSHOT
$ docker pull  gcr.io/torrestemplate/template-springboot:1.0.0-SNAPSHOT
$ docker run -it -p 8080:8080 gcr.io/torrestemplate/template-springboot:1.0.0-SNAPSHOT

dashboard

- http://localhost:8080/          # Swagger
- http://localhost:8080/intro     # intro page (Thymeleaf)
- http://localhost:8080/dashboard # App Dashboard
- http://localhost:8080/console   # H2 web console

springboot-jolokia-dashboard

Configuration files

path file info
.gitignore ---
build.gradle Gradle build 파일
/gradle/querydsl.gradle Gradle QueryDSL 설정파일
/public/* web static resource : HTML, CSS, javascript
/config/application.yml profile, DB설정파일
/src/main/generated/* Q파일
/src/main/resources/application.properties
/src/main/resources/logback.groovy logging 설정 - Groovy
/src/main/resources/logback.xml logging 설정 - XML
/src/main/resources/ data.sql, schema.sql, import.sql datasource initial SQL
/src/main/resources/templates/ Template engine view - Thymeleaf

Library

name version download link
SpringBoot v1.5.9 https://projects.spring.io/spring-boot/
Lombok v1.16.8 https://projectlombok.org/
jQuery v1.12.1 http://jquery.com
jQuery UI v1.12.1 https://jqueryui.com
Bootstrap v3.3.7 https://getbootstrap.com/docs/3.3/
Font Awesome v4.7.0 http://fontawesome.io/
Highcharts v6.0.4 (2017-12-15) https://www.highcharts.com/download
jolokia v1.3.7 https://jolokia.org/download.html
springfox v2.6.0 http://springfox.github.io/springfox/
H2 v1.4.190 http://www.h2database.com/
Spring Data JPA 1.11.9 https://projects.spring.io/spring-data-jpa
QueryDSL v4.1.4 http://www.querydsl.com/

Details

SpringBoot | Actuator

- http://localhost:8080/docs
- http://localhost:8080/mappings

SpringBoot | Admin

- http://localhost:8080

SpringBoot | remote shell

$ ssh user@localhost -p 2000 
$ dashboard 
$ metrics
$ thread top

jolokia

logging

  • logback

Swagger & springfox

Datasource

  • H2
  • MySQL

JPA & QueryDSL

  • SpringData JPA
  • QueryDSL

template-springboot's People

Contributors

torreswoo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.