Skip to content

bxfsh/generator-boxfish-spring-microservice

Repository files navigation

Boxfish Logo

By Boxfish

Build Status

Spring Java REST Microservice scaffolder from BOXFISH

Based on a specs file, generate CRUD components (with Service, Repository, Entity, DTO) with validation, exposition, queryability, sortability and testing (unit and integration) for all of it.

Installation

Created with Yeoman. Install the Yeoman in order to generate microservices

npm install --global generator-boxfish-spring-microservice

Usage

  • Create a base folder where all your microservices will be placed
mkdir ~/Workspaces/boxfish && cd $
  • Create a GIT repo with all your specification files and clone that in your workspace
mkdir micoservice-specs && cd $ && git init
vim 'boxfish-youtube-channels-curation.yml'
  • Keep your spec files always committed and pushed to your remote server.

  • Run the command:

yo boxfish-spring-microservice

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/bxfsh/generator-boxfish-spring-microservice. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the GPL-3.0 License.