Skip to content

davetownsend/generator-spring

Repository files navigation

logo

generator-spring Build Status

A Yeoman generator for scaffolding and bootstrapping Spring Boot and Spring Cloud applications. Provides the same selectable options as Spring Initializr, but with and interactive CLI interface so your hands can stay where they belong, on the keyboard!

Getting Started

Install Yeoman

$ npm install -g yo

Install generator-spring

$ npm install -g generator-spring

Initiate spring-generator!

$ yo spring

The interactive CLI menu will guide the way.

Extras (Sub-generators)

Creates a REST endpoint

$ yo spring:rest

Creates a REST endpoint with HATEOAS support (has dependency on choosing the hateoas starter option)

$ yo spring:hateoas

Creates an initial Thymeleaf view (has dependency on choosing the Thyemleaf starter option)

$ yo spring:route

TODO

  • Add the new Spring Cloud libs supported with Spring Boot 1.5.x
  • Add support for createing a serverless (AWS) project with Spring Cloud Function.
  • Add React support. This will essentially scaffold an opinionated react SPA (webpack/es6/material-ui) as the front end.

License

MIT License