Giter VIP home page Giter VIP logo

spring-boot-sample-app's Introduction

A spring boot 2 sample app project Twitter Follow

About

Sample app generated from my spring boot custome maven archetype : https://github.com/Romeh/spring-boot-quickstart-archtype

for more details about it , check my posts here :

Technical Stack

  • Java 1.8+
  • Maven 3.5+
  • Spring boot 2.2.2.RELEASE
  • Lombok abstraction
  • JPA with H2 for explanation
  • Swagger 2 API documentation
  • Spring retry and circuit breaker for external service call
  • REST API model validation
  • Spring cloud config for external configuration on GIT REPO
  • Cucumber and Spring Boot test for integration test
  • Jenkins Pipeline for multi branch project
  • Continuous delivery and integration standards with Sonar check and release management
  • Support retry in sanity checks

Installation

To run locally , you need to configure the run configuration by passing :

  • VM parameter: -DLOG_PATH=../log
  • Set SPRING profile to LOCAL

Test on the browser via SWAGGER

http://localhost:8080/swagger-ui.html

License

This software is licensed under the BSD License. For more information, read the file LICENSE.

spring-boot-sample-app's People

Contributors

lorenzobettini avatar romeh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spring-boot-sample-app's Issues

The /h2/alerts_db.mv.db file is not getting created on create operation

A wonderful set of all handy stuff to create a project with all the required stuffs to jump-start a spring boot project. Thanks!
I tried this running it as such on a Windows machine. The /h2/alerts_db.mv.db file must be ideally created on the first write after the start of the application. But due to some reason, the file is not getting created and hence the data is not getting persisted. Tried updating the ddl-auto: update to ddl-auto: create. Still not much joy. Not sure what got missed in the archetype generation.

Figured out the issue:
Spring Boot 2.1.x will not work out of the box with spring-cloud Finchley.RELEASE
<spring-cloud.version>Finchley.RELEASE</spring-cloud.version>
Hence, change Finchley.RELEASE with Greenwitch.RELEASE
<spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
and completely remove the buggy fix of HikariCP exclusion under spring-boot-starter-data-jpa

            <!-- fix conflict between spring cloud config server and spring boot JPA-->
            <exclusions>
                <exclusion>
                    <groupId>com.zaxxer</groupId>
                    <artifactId>HikariCP</artifactId>
                </exclusion>
            </exclusions>

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.