Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 months 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-02T04:51:21.000Z (about 2 years ago)
- Last Synced: 2024-04-25T11:02:43.702Z (10 months ago)
- Topics: jpa, mongodb, mvc, spring-boot, yeoman-generator
- Language: Java
- Size: 755 KB
- Stars: 7
- Watchers: 3
- 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
![logo](https://github.com/rocketbase-io/generator-spring-rest-commons/raw/master/assets/generator-commons-rest.svg?sanitize=true)
[![npm](https://nodei.co/npm/generator-spring-rest-commons.png?mini=true)](https://www.npmjs.com/package/generator-spring-rest-commons)
[![Build Status](https://travis-ci.org/rocketbase-io/generator-spring-rest-commons.svg?branch=master)](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
```