Skip to content

nazmulislam/REACT_BOILER_TEMPLATE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For React Front End

Create Component Files:

export PHP_INTERPRETER_PATH='/usr/local/bin/php' && node node_modules/goenterprise-cli/bin/index.js create {ComponentName} --all

This will create a folder in the src/Pages/{TheComponentName} and the src/components/{TheComponentName} [--component] please note at least one component is required

The option --component or -c will generate the component

The option --menu or -m will generate the menu files

The option --route or -r will generate the route files

The option --all or -a will generate the e react components and the backend API files (Domain, Model, Route, Phinx)

The option --backend or -b will generate the backend API files (Domain, Model, Route)

The option --phinx or -p will generate the phinx file

The option --exlude_menu or -em will exclude the react menu

The option --exclude_rbac or -er will exclude the moduleValues creation for PHP routes

IMPORTANT

you will need to add a route in the src/Routes/private-routes.ts and in the appMenuItems,ts for it to appear on the menu**

IMPORTANT

export PHP_INTERPRETER_PATH='/usr/local/bin/php' && node node_modules/goenterprise-cli/bin/index.js create {ComponentName} -a

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published