This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
generator-spring with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
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!
$ npm install -g yo
$ npm install -g generator-spring
$ yo spring
The interactive CLI menu will guide the way.
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