Code Monkey home page Code Monkey logo

spring-boot-template's Introduction

Spring Boot Template

CI Status

  • spring boot + web + jpa + rest
  • gradle wrapper
  • lombok
  • h2 (embedded)
  • junit 5
  • jacoco
  • k8s/helm
  • make

๐Ÿ“ Prerequisites

Before you begin, ensure you have met the following requirements:

  • make
  • pre-commit
  • docker + kubectl
  • helm
  • hadolint
  • jq
  • awslocal

For ๐ŸŽ macOS users, you can use the Brewfile script to simplify the installation of all the necessary dependencies.

If you have Homebrew installed, follow these steps:

brew bundle

๐Ÿš€ Getting Started

To see a list of available commands, run command:

make

โ™ป๏ธ Reuse Instructions

This project includes a convenient script to help you quickly set up and customize the template for your specific needs. The generate.sh script allows you to update the application name, port number and package name with ease.

Usage

To use the script run the following command:

./generate.sh [OPTIONS]

Options:
  --name       new app name, this option cannot be used together with --auto-name
  --port       new port number
  --package    new package name
  --auto-name  set app name to the current directory name, this option cannot be used together with --name

Examples

To set the application name to my-app, use port 8080, and set the package name to com.example.myapp:

./generate.sh --name my-app --port 8080 --package com.example.myapp

To automatically use the name of the current directory as the application name:

./generate.sh --auto-name

Using this script simplifies the process of adapting the template to your project's requirements, allowing you to get started with your custom application more quickly.

๐Ÿฉบ Actuator

๐Ÿ˜Ž API Documentation

spring-boot-template's People

Contributors

lomasz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.