Sign Up for Free

RunKit +

Try any Node.js package right in your browser

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:

var generatorSpring = require("generator-spring")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

generator-spring v1.0.0

A Yeoman Generator for Spring Boot and Spring Cloud


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


  • Add the new Spring Cloud libs supported with Spring Boot 1.4.1
  • Add React support. This will essentially scaffold an opinionated react SPA (webpack/es6/material-ui) as the front end.


MIT License

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free