https://github.com/rocketbase-io/generator-spring-rest-commons
yoeman generator based on spring-boot and commons-rest
https://github.com/rocketbase-io/generator-spring-rest-commons
jpa mongodb mvc spring-boot yeoman-generator
Last synced: about 1 month ago
JSON representation
yoeman generator based on spring-boot and commons-rest
- Host: GitHub
- URL: https://github.com/rocketbase-io/generator-spring-rest-commons
- Owner: rocketbase-io
- License: mit
- Created: 2018-02-05T20:47:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-02T04:51:21.000Z (over 2 years ago)
- Last Synced: 2025-04-03T00:59:28.213Z (about 1 month ago)
- Topics: jpa, mongodb, mvc, spring-boot, yeoman-generator
- Language: Java
- Size: 755 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# generator spring rest commons

[](https://www.npmjs.com/package/generator-spring-rest-commons)
[](https://travis-ci.org/rocketbase-io/generator-spring-rest-commons)Scaffold your spring-boot application and generate services. The generated code is based on [rocketbase-io/commons-rest](https://github.com/rocketbase-io/commons-rest).
## features
- setup project with actual spring-boot and commons-rest
- easy flow to create new service (generated DTOs, Repository, Controller, Converter etc.)
- you can choose between JPA or MongoDB
- optional commons-auth integration for jwt security## technology
* [spring-boot](https://projects.spring.io/spring-boot/) application
* mongoDb via spring-data-mongodb or JPA via spring-data-jpa
* [mapstruct](http://mapstruct.org/) to convert between DTOs and Entity
* [commons-rest](https://github.com/rocketbase-io/commons-rest) to simplify CRUD coding
* [commons-auth](https://github.com/rocketbase-io/commons-auth) to allow easy security via jwt## usage
```bash
# installation
npm install -g yo
npm install -g @rocketbase/generator-spring-rest-commons
# usage
yo @rocketbase/spring-rest-commons
```