2.0.4 • Published 6 years ago

generator-jhipster-pages v2.0.4

Weekly downloads
38
License
Apache-2.0
Repository
github
Last release
6 years ago

generator-jhipster-pages

NPM version Build Status Dependency Status

JHipster module, create pages : client only (static), or client and server side. Load data from server, Save data to server, form, table...

Introduction

This is a JHipster module, that is meant to be used in a JHipster application.

Prerequisites

As this is a JHipster module, we expect you have JHipster and its related tools already installed:

Compatibility

Now it's works for angularjs and angular 4. I haven't tested with micro service or any not-sql based project (cassandra, mongodb, elasticsearch, ...).

Installation

With Yarn

To install this module:

yarn global add generator-jhipster-pages

To update this module:

yarn global upgrade generator-jhipster-pages

With NPM

To install this module:

npm install -g generator-jhipster-pages

To update this module:

npm update -g generator-jhipster-pages

Usage

Launch

Launch generator and it will ask for everything it needs

yo jhipster-pages

if you want to regenerate some existing pages you can do it by page set with the following command line :

yo jhipster-pages regenerate

Core Concepts

Each page belongs to a page set. A page set is defined by a name. A Page have a name, a glyphicon, and a type. The following types are supported:

  • client only generate a simple static page :
    • empty html page
    • simple js controller
  • Load data from server generate
    • empty html page
    • js controller
    • js read service
    • java get web service
  • Save data to server generate
    • empty html page
    • js controller
    • js write service
    • java post web service
  • Load and Save data to server generate
    • empty html page
    • js controller
    • js read and write service
    • java get and post web service
  • Form generate
    • form html page
    • js controller
    • js write service
    • java post web service
    • post argument object
  • Table generate
    • table html page
    • js controller
    • js read service
    • java get web service
    • get returned object

Road Map

Here is the list of types to do

  • Workflow generate
    • multiple step html pages (form) with link to previous and next steps
    • multiple step js controllers
    • js service with init get and final write method
    • java web service with get and post

License

Apache License v2.0 © Guillaume DUFOUR

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.1.0

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.0

7 years ago