Skip to content

A simple project generator with an ability to generate components and to set up basic libraries

Notifications You must be signed in to change notification settings

datarockets/react-project-creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-project-creator

Description

A simple project generator with an ability to generate components and to set up basic libraries

How to setup

To setup this project generator globally use the following commands

git clone https://github.com/datarockets/react-project-creator.git
cd react-project-creator
npm install -g

How to use

To generate the basic project structure use the following command

react-up new <project-name>

Element generator

To generate a component, container, or model use the following command

react-up generate [component|container|model] <element-name>

To generate a ui, layout, or page component use the following flags

react-up generate component <element-name> [--ui|--layout|--page]

To generate redux actions, reducers, sagas, and thunks use the following flags

react-up generate redux <element-name>

Project structure

<project-name>
  config
  public
  resources
  src
    components
      layouts
      pages
      ui
    containers
    routes
    models
    utils
    redux
      actions
      reducers
      sagas
      thunk

About

A simple project generator with an ability to generate components and to set up basic libraries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published