generator-spring-microservice

A Yeoman generator for Microservice with Maven + Spring + Netflix + Docker

Usage no npm install needed!

<script type="module">
  import generatorSpringMicroservice from 'https://cdn.skypack.dev/generator-spring-microservice';
</script>

README

Spring Microservice Generator

A generator for Yeoman.

Yeoman generator for creating Microservices using Maven, Spring Boot, Spring Cloud and Docker.

Getting Started

To install generator-spring-microservice from npm, run:

$ npm install -g generator-spring-microservice

Finally, initiate the generator:

$ yo spring-microservice

Project structure

myservice-it/
    src/*
    pom.xml  
    
myservice-model
    src/*
    pom.xml  
    
myservice-rest
    src/
        main/
            java/
                com/example/myservice/
                    config/
                    core/
                    rest/
                        assembler/
                        controller/
                    Application.java
            resources/
                application.yml
                bootstrap.yml
        test/*
    pom.xml  

pom.xml
.gitignore
.yo-rc.json

License

MIT License