All Projects → sivaprasadreddy → generator-springboot

sivaprasadreddy / generator-springboot

Licence: MIT license
A Yeoman generator for generating Microservice with SpringBoot

Programming Languages

java
68154 projects - #9 most used programming language
javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to generator-springboot

generator-laravel-5
Scaffold Laravel 5.7 applications with ease.
Stars: ✭ 19 (-84.3%)
Mutual labels:  yeoman, yeoman-generator
Generator Chisel
Chisel is a development framework for creating easy to maintain and fast WordPress websites
Stars: ✭ 233 (+92.56%)
Mutual labels:  yeoman, yeoman-generator
Generator Micro Service
🛫 Yeoman generator to kick-start your microservice with `micro` and `ava`!
Stars: ✭ 145 (+19.83%)
Mutual labels:  yeoman, yeoman-generator
Node Typescript Mongodb
node js typescript mongodb express generator yo
Stars: ✭ 96 (-20.66%)
Mutual labels:  yeoman, yeoman-generator
generator-ngx-firebase-bootstrap
Generator for Angular / Firebase / Bootstrap projects
Stars: ✭ 44 (-63.64%)
Mutual labels:  yeoman, yeoman-generator
Generator Hapi Style
📦 Yeoman generator for scaffolding hapi apps and plugins
Stars: ✭ 96 (-20.66%)
Mutual labels:  yeoman, yeoman-generator
Generator Web Extension
Advanced WebExtension generator that creates everything you need to get started with cross-browser web-extension development.
Stars: ✭ 212 (+75.21%)
Mutual labels:  yeoman, yeoman-generator
Modernwebdevgenerator
A Yeoman generator for Modern Web development projects
Stars: ✭ 73 (-39.67%)
Mutual labels:  yeoman, yeoman-generator
generator-liferay-fragments
Yeoman generator for creating and maintaining Liferay Fragment projects
Stars: ✭ 31 (-74.38%)
Mutual labels:  yeoman, yeoman-generator
generator-nullfactory-xrm
Yeoman generator for Dynamics 365 Solutions. It generates a project structure that facilitates the quick creation builds and automated release strategies with minimal effort.
Stars: ✭ 15 (-87.6%)
Mutual labels:  yeoman, yeoman-generator
Generator Fountain Angular1
Yeoman 'fountain' generator to start a webapp with Angular 1
Stars: ✭ 95 (-21.49%)
Mutual labels:  yeoman, yeoman-generator
generator-fountain-react
Yeoman 'fountain' generator to start a webapp with React
Stars: ✭ 36 (-70.25%)
Mutual labels:  yeoman, yeoman-generator
Generator Fountain Angular2
Yeoman 'fountain' generator to start a webapp with Angular 2
Stars: ✭ 84 (-30.58%)
Mutual labels:  yeoman, yeoman-generator
Generator Fountain Vue
Yeoman 'fountain' generator to start a webapp with Vue http://fountainjs.io
Stars: ✭ 104 (-14.05%)
Mutual labels:  yeoman, yeoman-generator
Generator Django Rest
Yeoman generator for a Django REST/GraphQL API, an optional React SPA & lots more!
Stars: ✭ 77 (-36.36%)
Mutual labels:  yeoman, yeoman-generator
Generator Spfx
Open-source generator to extend the capabilities of the Microsoft SPFx generator
Stars: ✭ 150 (+23.97%)
Mutual labels:  yeoman, yeoman-generator
Generator
Rails-inspired generator system that provides scaffolding for your apps
Stars: ✭ 1,000 (+726.45%)
Mutual labels:  yeoman, yeoman-generator
Generator Http Fake Backend
Yeoman generator for building a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
Stars: ✭ 49 (-59.5%)
Mutual labels:  yeoman, yeoman-generator
Generator Api
🚀 Yeoman generator for creating RESTful NodeJS APIs, using ES6, Mongoose and Express
Stars: ✭ 247 (+104.13%)
Mutual labels:  yeoman, yeoman-generator
delphi-generator-delphi
Yeoman generator for Delphi projects
Stars: ✭ 14 (-88.43%)
Mutual labels:  yeoman, yeoman-generator

generator-springboot

A Yeoman generator for generating Microservices with SpringBoot

How to use?

> npm install -g yo
> npm install -g generator-springboot
> yo springboot

Features

  • SpringBoot REST API with jar type packaging
  • CORS configuration
  • Swagger UI Integration
  • Spring Data JPA integration with option to select databases like MySQL, Postgresql, MariaDB etc
  • Flyway or Liquibase data migration support
  • SpringBoot Actuator configuration
  • TestContainers integration
  • JUnit 5
  • Docker configuration for Application, ELK, Prometheus, Grafana
  • Localstack configuration
  • Jenkinsfile
  • GitHub Actions Configuration
  • SonarQube, Google-java-format static analysis tools configuration

Generate SpringBoot Microservice

Microservice Generation Microservice Generation

Generate REST API with CRUD operations

You can generate REST API with CRUD operation using the following command:

🔆 You should run the following command from within the generated project folder.

myservice> yo springboot:controller Customer --base-path /api/customers

This will generate:

  • JPA entity
  • Spring Data JPA Repository
  • Service
  • Spring MVC REST Controller with CRUD operations
  • Unit and Integration Tests for REST Controller
  • Flyway or Liquibase migration to create table

CRUD Generation

Why another generator when you have JHipster?

JHipster is an amazing SpringBoot application generator with lots and lots of cool features. However, there are certain JHipster features that does not fit for my preferences such as:

  1. I like jar packaging
  2. I like to use spring-boot-starter-* than configuring individual libraries
  3. I like to have an option to generate application without spring-security
  4. I prefer Flyway to Liquibase
  5. I like to have only minimum and required configuration ie no AsyncConfiguration, LocaleConfiguration, CacheConfiguration, Logstash Logging etc.
  6. I like .properties over .yml

Local Development Setup

> git clone https://github.com/sivaprasadreddy/generator-springboot.git
> cd generator-springboot
> npm install 
> npm link
> yo springboot

Changelog

Version 0.0.5

  • Added support for generating docker-compose yml files for application, ELK, Prometheus, Grafana

Version 0.0.6

Version 0.0.7

  • Removed support for generation of config-server and service-registry
  • Updated SpringBoot and other libraries version

Version 0.0.8

  • Configured Checkstyle, PMD, SonarQube, google-java-format plugins
  • Added Localstack autoconfiguration support

Version 0.0.10

  • Upgraded SpringBoot to 2.6.7 and library versions
  • Updated Spring Cloud AWS setup to use new https://awspring.io/ based configuration
  • Removed springfox-boot-starter and used springdoc-openapi-ui
  • Added google-java-format support
  • Upgraded plugins versions
  • Removed Checkstyle, PMD plugins

Version 0.1.0

  • Upgraded SpringBoot to 2.7.4 and other library versions
  • Fixed code formatting
  • Fixed Flyway with MySQL and MariaDB issue
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].