By 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.
Created with Yeoman. Install the Yeoman in order to generate microservices
npm install --global generator-boxfish-spring-microservice
- 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
- Create your YML specification using our Boxfish Microservice DSL
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
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.
The gem is available as open source under the terms of the GPL-3.0 License.