npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

generator-dsuite

v0.1.5

Published

scandaffoling dsuite code

Downloads

5

Readme

generator-dsuite

scandaffoling dsuite applications and services many it's java-code in maven multi-module style

Installation

First, install Yeoman and generator-bonprix using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-dsuite

create new project

yo dsuite

question explanations

  • Your project name
    • used for naming the artifacts (-service/-ui will get added automatically)
  • Database schema
    • used for test-schema definitions
  • Base code package structure of project
    • used for mapping the java code package structure
    • same as in the pom.xml
  • Pom groupId
    • name of the groupId within the pom
  • Which type of project you would like to create
    • rest-project
      • will create a multi-maven-module project with basic configuration
    • ui
      • will create a single-maven-module project
  • Would you like to get an HelloWorld module created?
    • is only been asked in case of ui-type of project
    • will create a hello world module
  • Please set application.id
    • id of application
  • Name of systemuser
    • username to used via webservice interactions
  • Password of systemuser
    • password of the systemuser...

create a service

yo dsuite:service

question explanations

  • Base artifactId that is used to specify folders
    • asked for mapping correctly the new code
  • Base code package structure of project
    • should fit to your project
  • Name of Entity
    • correct classname of dto (Entity etc will be added automatically)
  • Database schema
    • name of schema will be added to entity configs
  • Application table prefix (like MD_)
  • name of prefix will be added automatically to sequence, etc
  • Name of the Table
    • give the name of the table with it's prefix
  • Which features does the Entity has?
    • you can do multiple selects to enable disable features
      • I18N
        • will create mapped LanguageEntity with all it's dto etc. parts
      • HasOptlock
        • will add optlock column to entity
      • FetchOptions
        • will add an empty FetchOptions class and link it to repository
  • LanguageEntity with description?
    • in case of I18N you can additionally to name add a description property

recursive property questions

  • Do you want to add a field to your entity?
    • by answering yes you can add a new property
  • What is the name of your field?
    • property name of field
  • What is the type of your field?
    • select type of field
  • What is the name of the column of this property?
    • oracle column name
  • Is this field nullable?
    • you can specify if filed should be marked as @NotNullable by answering no

License

© team rocketbase